Snippet: PHP Snippet Assigning sections

This is compatible with eZ Publish 4.

This is a Stub article. Help the eZ Publish community by expanding it!

To a subtree

eZContentObjectTreeNode::assignSectionToSubTree( $nodeID, $sectionID );
eZContentCacheManager::clearAllContentCache();

To a single node

// Missing example