Snippets for eZ publish 3: Assigning sections

To a subtree

include_once( 'kernel/classes/ezcontentobjecttreenode.php' );

eZContentObjectTreeNode::assignSectionToSubTree( $nodeID, $sectionID );include_once( 'kernel/classes/ezcontentcachemanager.php' );
eZContentCacheManager::clearAllContentCache();

To a single node

// Missing example