modChunk.setContent
modChunk::setContent
Sets the content of this Chunk.
Syntax
API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modchunk.class.html#%5CmodChunk::setContent()
void setContent ( $content, [ $options = array()])
Example
$chunk->setContent('<h2>Hello!</h2>');