|
eZ Publish
[trunk]
|
Go to the source code of this file.
Functions | |
| if($siteAccess) | changeSiteAccessSetting ($siteAccess) |
Variables | |
| $cleanupSearch = $options['clean'] ? true : false | |
| $cli = eZCLI::instance() | |
| $conds | |
| $count = eZPersistentObject::count( $def, $conds, 'id' ) | |
| $db = eZDB::instance() | |
| $dbHost = $options['db-host'] ? $options['db-host'] : false | |
| $dbImpl = $options['db-driver'] ? $options['db-driver'] : false | |
| $dbName = $options['db-database'] ? $options['db-database'] : false | |
| $dbPassword = $options['db-password'] ? $options['db-password'] : false | |
| $dbUser = $options['db-user'] ? $options['db-user'] : false | |
| if(!$searchEngine instanceof ezpSearchEngine) if($cleanupSearch) | $def = eZContentObject::definition() |
| $length = 50 | |
| $limit = array( 'offset' => 0 , 'length' => $length ) | |
| $needRemoveWithUpdate = $searchEngine->needRemoveWithUpdate() | |
| $options | |
| $script | |
| $searchEngine = eZSearch::getEngine() | |
| $showSQL = $options['sql'] ? true : false | |
| $siteAccess = $options['siteaccess'] ? $options['siteaccess'] : false | |
| if ($siteAccess) changeSiteAccessSetting | ( | $ | siteAccess | ) |
Definition at line 57 of file updatesearchindex.php.
Definition at line 50 of file updatesearchindex.php.
| $cli = eZCLI::instance() |
Definition at line 16 of file updatesearchindex.php.
| $conds |
array(
'status' => eZContentObject::STATUS_PUBLISHED
)
Definition at line 112 of file updatesearchindex.php.
Referenced by eZPersistentObject\count(), eZContentClass\exists(), eZMultiPriceData\fetch(), eZContentClassGroup\fetch(), eZContentClass\fetch(), eZContentObjectTreeNode\fetchByContentObjectID(), eZContentClass\fetchByIdentifier(), eZContentClassGroup\fetchByName(), eZURLAliasML\fetchByPath(), eZContentClass\fetchByRemoteID(), eZWorkflowProcess\fetchForContent(), eZWorkflowProcess\fetchForSession(), eZWorkflowProcess\fetchForStatus(), eZContentClassName\fetchList(), eZContentClassGroup\fetchList(), eZOrderStatus\fetchList(), eZWorkflow\fetchList(), eZWorkflowProcess\fetchList(), eZContentClass\fetchList(), eZOrderStatus\fetchMap(), eZPersistentObject\fetchObject(), eZPersistentObject\fetchObjectList(), eZOrderStatus\fetchOrderedList(), eZContentFunctionCollection\fetchTipafriendTopList(), eZWorkflowProcess\fetchUserList(), eZURLAliasQuery\generateSQL(), eZImageType\restoreTrashedObjectAttribute(), eZRole\roleCount(), eZURLAliasML\translate(), and eZImageType\trashStoredObjectAttribute().
| $count = eZPersistentObject::count( $def, $conds, 'id' ) |
Definition at line 116 of file updatesearchindex.php.
| $db = eZDB::instance() |
Definition at line 73 of file updatesearchindex.php.
| $dbHost = $options['db-host'] ? $options['db-host'] : false |
Definition at line 45 of file updatesearchindex.php.
| $dbImpl = $options['db-driver'] ? $options['db-driver'] : false |
Definition at line 47 of file updatesearchindex.php.
| $dbName = $options['db-database'] ? $options['db-database'] : false |
Definition at line 46 of file updatesearchindex.php.
| $dbPassword = $options['db-password'] ? $options['db-password'] : false |
Definition at line 44 of file updatesearchindex.php.
| $dbUser = $options['db-user'] ? $options['db-user'] : false |
Definition at line 43 of file updatesearchindex.php.
| return $def = eZContentObject::definition() |
Definition at line 111 of file updatesearchindex.php.
Referenced by eZDBSchemaInterface\appendSQLComments(), eZPersistentObject\attribute(), eZAuthor\attributes(), eZPersistentObject\attributes(), eZPersistentObject\count(), eZNotificationEventType\create(), eZDataType\create(), eZINI\defaultOverrideDirs(), eZDbSchemaChecker\diff(), eZDbSchemaChecker\diffTable(), Cezpdf\ezColumnsStart(), eZInformationCollection\fetchCollectionsList(), eZPersistentObject\fetchObject(), eZPersistentObject\fetchObjectList(), eZWorkflowType\fetchRegisteredTypes(), eZPersistentObject\fill(), eZMysqlSchema\generateAddFieldSql(), eZPgsqlSchema\generateAddFieldSql(), eZMysqlSchema\generateAddIndexSql(), eZPgsqlSchema\generateAddIndexSql(), eZMysqlSchema\generateAlterFieldSql(), eZPgsqlSchema\generateAlterFieldSql(), eZPgsqlSchema\generateDefaultDef(), eZMysqlSchema\generateDropIndexSql(), eZPgsqlSchema\generateDropIndexSql(), eZMysqlSchema\generateFieldDef(), eZPgsqlSchema\generateFieldDef(), eZPgsqlSchema\generateNullDef(), eZPersistentObject\getShortAttributeName(), eZPersistentObject\hasAttribute(), eZi18nOperator\namedParameterList(), eZPersistentObject\newObjectOrder(), eZi18nOperator\operatorTemplateHints(), eZTemplateSwitchFunction\process(), eZPersistentObject\remove(), eZPersistentObject\removeObject(), eZPersistentObject\reorderObject(), eZINI\selectOverrideScope(), eZPersistentObject\setAttribute(), eZContentClassName\sqlAppendFilter(), eZContentClassName\sqlFilter(), eZPersistentObject\storeObject(), and eZPersistentObject\updateObjectList().
| $length = 50 |
Definition at line 120 of file updatesearchindex.php.
Referenced by eZDBFileHandlerMysqliBackend\_passThrough(), eZDBFileHandlerMysqlBackend\_passThrough(), eZDFSFileHandlerMySQLBackend\_passThrough(), eZDFSFileHandlerMySQLiBackend\_passThrough(), eZTemplateArrayOperator\arrayTrans(), eZImageObject\calculateAxisPlacement(), eZTemplateArrayOperator\compareTrans(), eZContentClass\contentObjectName(), eZPgsqlSchema\convertToStandardType(), eZISBNGroupRange\create(), eZISBNRegistrantRange\create(), eZFileHandler\doRead(), eZFile\download(), eZFile\downloadContent(), eZFile\downloadHeaders(), eZFileHandler\doWrite(), eZAutoloadGenerator\dumpArray(), eZISBNRegistrantRange\extractRegistrant(), eZTemplateArrayOperator\extractTrans(), eZTemplateCompiler\fetchTemplatePiece(), eZISBN13\formatedISBNValue(), eZTemplateArrayOperator\modify(), ezpDfsMySQLiClusterGateway\passthrough(), eZDFSFileHandlerDFSBackend\passthrough(), eZFSFileHandler\passthrough(), eZDBFileHandler\passthrough(), eZDFSFileHandler\passthrough(), eZFileHandler\read(), eZCodePageMapper\substr(), eZMBStringMapper\substr(), eZTemplateCacheBlock\subtreeCacheSubDirForNode(), eZContentClass\urlAliasName(), and eZFileHandler\write().
Definition at line 121 of file updatesearchindex.php.
| $needRemoveWithUpdate = $searchEngine->needRemoveWithUpdate() |
Definition at line 125 of file updatesearchindex.php.
| $options |
$script->getOptions( "[db-host:][db-user:][db-password:][db-database:][db-type:|db-driver:][sql][clean]", "", array( 'db-host' => "Database host", 'db-user' => "Database user", 'db-password' => "Database password", 'db-database' => "Database name", 'db-driver' => "Database driver", 'db-type' => "Database driver, alias for --db-driver", 'sql' => "Display sql queries", 'clean' => "Remove all search data before beginning indexing" ) )
Definition at line 28 of file updatesearchindex.php.
eZScript::instance( array( 'description' => ( "eZ Publish search index updater.\n\n" . "Goes trough all objects and reindexes the meta data to the search engine" . "\n" . "updatesearchindex.php"), 'use-session' => true, 'use-modules' => true, 'use-extensions' => true ) )
Definition at line 18 of file updatesearchindex.php.
| $searchEngine = eZSearch::getEngine() |
Definition at line 95 of file updatesearchindex.php.
Referenced by eZSearch\addNodeAssignment(), eZSearch\addObject(), eZSearch\buildSearchArray(), eZSearch\cleanup(), eZSearch\needCommit(), eZSearch\needRemoveWithUpdate(), eZSearch\normalizeText(), eZSearch\removeNodeAssignment(), eZSearch\removeNodes(), eZSearch\removeObject(), eZSearch\search(), eZSearch\swapNode(), eZSearch\updateNodeSection(), eZSearch\updateNodeVisibility(), eZSearch\updateObjectsSection(), and eZSearch\updateObjectState().
Definition at line 48 of file updatesearchindex.php.
| $siteAccess = $options['siteaccess'] ? $options['siteaccess'] : false |
Definition at line 49 of file updatesearchindex.php.