eZpedia : The Free eZ Publish CMS Documentation Encyclopedia

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

Article provided by eZpedia

All text is available under the terms of the GNU Free Documentation License

Powered by eZ Publish 6.0.2stable

Hosted by USA eZ Publish Community Partner : Brookins Consulting