eZPublish  3.8
updateiscontainer.php File Reference

Variables

 $classList = array( 'folder', 'article', 'user_group', 'forum', 'forum_topic', 'gallery', 'weblog' )
 
 $cli =& eZCLI::instance()
 
if(!$script->validateVersion()) $db =& eZDB::instance()
 
 $idText = "'" . implode( "', '", $classList ) . "'"
 
 $options
 
 $script
 
 $sql = "UPDATE ezcontentclass SET is_container='1' WHERE identifier IN ( $idText )"
 

Variable Documentation

$classList = array( 'folder', 'article', 'user_group', 'forum', 'forum_topic', 'gallery', 'weblog' )
$cli =& eZCLI::instance()
if (!$script->validateVersion()) $db =& eZDB::instance()
$idText = "'" . implode( "', '", $classList ) . "'"
$options
Initial value:
= $script->getOptions( "", "",
array() )
$script
Definition: clusterize.php:132
$script
Initial value:
=& eZScript::instance( array( 'description' => ( "eZ publish is_container update script\n\n" .
"This script will set the is_container attribute on known eZ publish classes\n" .
"\n" .
"Note: The script must be run for each siteaccess" .
"\n" .
"updateiscontainer.php -sSITEACCESS" ),
'use-session' => false,
'use-modules' => false,
'use-extensions' => true,
'min_version' => '3.4.2',
'max_version' => '3.5.0' ) )
& instance($settings=array())
Definition: ezscript.php:1011
$sql = "UPDATE ezcontentclass SET is_container='1' WHERE identifier IN ( $idText )"