modChunk::setContent
Sets the content of this Chunk.
Syntax
API Doc: http://api.modxcms.com/modx/modChunk.html#
void setContent ( $content, [ $options = array()])
Example
$chunk->setContent('<h2>Hello!</h2>');
See Also
| Page: (at)CHUNK |
| Page: (at)CHUNK |
| Page: modChunk |
| Page: modChunk.getContent |
| Page: modChunk.setContent |