eZPublish  3.8
updateattributefilter.php File Reference

Functions

if($siteAccess) changeSiteAccessSetting (&$siteaccess, $optionData)
 

Variables

 $attributeList =& eZContentClassAttribute::fetchList( true, array( 'version' => 0 ) )
 
 $cacgeFilePath = "$cacheDir/sortkey_$dbName.php"
 
 $cacheDir = eZSys::cacheDirectory()
 
 $cacheFile = eZClusterFileHandler::instance( $cacheFilePath )
 
 $classAttributeIDList = array()
 
 $classDataTypeList = array()
 
 $cli =& eZCLI::instance()
 
 $complexTypes = array()
 
 $db =& eZDB::instance()
 
foreach($simpleTypes as
$simpleType) foreach($complexTypes
as $complexTypeString=>
$complexTypeList) 
$dbName = $db->DB
 
 $endl = $cli->endlineString()
 
 $options
 
 $script
 
 $showSQL = $options['sql'] ? true : false
 
 $simpleTypes
 
 $siteAccess = $options['siteaccess'] ? $options['siteaccess'] : false
 

Function Documentation

if ($siteAccess) changeSiteAccessSetting ( $siteaccess,
  $optionData 
)

Variable Documentation

$cacgeFilePath = "$cacheDir/sortkey_$dbName.php"
$cacheFile = eZClusterFileHandler::instance( $cacheFilePath )
$classAttributeIDList = array()
$classDataTypeList = array()
$cli =& eZCLI::instance()
$complexTypes = array()
$db =& eZDB::instance()
foreach ($simpleTypes as $simpleType) foreach ($complexTypes as $complexTypeString=> $complexTypeList) $dbName = $db->DB
$endl = $cli->endlineString()
$options
Initial value:
= $script->getOptions( "[sql]",
"",
array( 'sql' => "Display sql queries"
) )
$script
Definition: clusterize.php:132
$script
Initial value:
=& eZScript::instance( array( 'description' => ( "eZ publish attribute filter update.".
"\n" .
"updateattributefileter.php" ),
'use-session' => true,
'use-modules' => true,
'use-extensions' => true ) )
& instance($settings=array())
Definition: ezscript.php:1011
$showSQL = $options['sql'] ? true : false
$simpleTypes
Initial value:
= array( array( 'field' => 'data_int',
'sort_field' => 'sort_key_int',
'datatypes' => array( 'ezinteger', 'ezboolean', 'ezdate', 'ezdatetime', 'ezobjectrelation' ) ),
array( 'field' => 'data_text',
'sort_field' => 'sort_key_string',
'datatypes' => array( 'ezstring', 'ezemail' ) ) )
$siteAccess = $options['siteaccess'] ? $options['siteaccess'] : false