Go to the source code of this file.
Functions | |
| doAction ($title, $numlines=false) | |
| outputMessage ($message, $level=1) | |
Variables | |
| $optionsWithArgs = array( 'concept', 'old', 's', 'e' ) | |
| $output_level | |
| if (!isset($smwgIP)) | |
| $store = smwfGetStore() | |
| $db = wfGetDB( DB_SLAVE ) | |
| if(!($store instanceof SMWSQLStore2)) | $select_hard = array_key_exists( 'hard', $options ) |
| $select_update = array_key_exists( 'update', $options ) | |
| $select_old = isset( $options['old'] ) ? intval( $options['old'] ) : false | |
Use option --help for usage details.
Note: if SMW is not installed in its standard path under ./extensions then the MW_INSTALL_PATH environment variable must be set. See README in the maintenance directory.
Definition in file SMW_conceptCache.php.
| doAction | ( | $ | title, | |
| $ | numlines = false | |||
| ) |
Definition at line 144 of file SMW_conceptCache.php.
References $select_hard, $select_old, $select_update, $smwgQFeatures, $smwgQMaxDepth, $smwgQMaxSize, $store, and outputMessage().
| outputMessage | ( | $ | message, | |
| $ | level = 1 | |||
| ) |
Definition at line 198 of file SMW_conceptCache.php.
References $output_level.
Referenced by doAction().
| $db = wfGetDB( DB_SLAVE ) |
Definition at line 97 of file SMW_conceptCache.php.
Referenced by SMWSqlStore2IdCache::__construct(), SMWSQLStore2::changeSMWPageID(), SMWSQLStore2::changeTitle(), SMWSQLHelpers::createTable(), SMWSQLStoreLight::deleteSemanticData(), SMWSQLStore2::deleteSemanticData(), SMWSQLStore2::deleteSubject(), SMWSQLStoreLight::doDataUpdate(), SMWSQLStore2::doDataUpdate(), SFCreateForm::doSpecialCreateForm(), SMWSQLStoreLight::drop(), SMWSQLStore2::drop(), SMWSQLStore2::fetchSemanticData(), SFUtils::getAllPagesForCategory(), SFUtils::getAllPagesForNamespace(), SFAutocompleteAPI::getAllValuesForProperty(), SFUtils::getCategoriesForPage(), SMWSQLStore2::getConceptCacheStatus(), SMWSQLHelpers::getFields(), SMWSQLStoreLight::getInProperties(), SMWSQLStore2::getInProperties(), SMWSQLStoreLight::getProperties(), SMWSQLStore2::getProperties(), SMWSQLStore2::getPropertiesSpecial(), SMWSQLStoreLight::getPropertySubjects(), SMWSQLStore2::getPropertySubjects(), SMWSQLStoreLight::getPropertyValues(), SMWSQLStore2::getRedirectId(), SMWSQLStoreLight::getSemanticData(), SMWSQLStore2::getSMWPageIDandSort(), SMWSQLStoreLight::getSQLConditions(), SMWSQLStore2::getSQLConditions(), SMWSQLStore2::getStatistics(), SMWSQLStore2::getUnusedPropertiesSpecial(), SMWSQLStore2::getWantedPropertiesSpecial(), SMWDITime::JD2Date(), SMWSQLStore2::makeSMWPageID(), SMWSQLStore2::moveSMWPageID(), SMWSQLStore2::prepareValueQuery(), SMWExportController::printAll(), SMWExportController::printPageList(), SMWSQLStoreLight::refreshData(), SMWSQLStore2::refreshData(), SMWSQLStoreLight::setup(), SMWSQLStore2::setup(), SMWSQLHelpers::setupIndex(), SMWSQLStore2::setupPredefinedProperties(), SMWSQLStore2::setupPropertyTables(), SMWSQLHelpers::setupTable(), SMWSQLStoreLight::setupTables(), SMWSQLStore2::setupTables(), SMWSQLHelpers::updateMySqlField(), SMWSQLHelpers::updatePostgresField(), SMWSQLStore2::updateRedirects(), and SMWSQLHelpers::updateTable().
| $optionsWithArgs = array( 'concept', 'old', 's', 'e' ) |
Definition at line 15 of file SMW_conceptCache.php.
| $output_level |
Initial value:
array_key_exists( 'quiet', $options ) ? 0 : ( array_key_exists( 'verbose', $options ) ? 2 : 1 )
Definition at line 21 of file SMW_conceptCache.php.
Referenced by outputMessage().
| if (!($store instanceof SMWSQLStore2)) $select_hard = array_key_exists( 'hard', $options ) |
| $select_old = isset( $options['old'] ) ? intval( $options['old'] ) : false |
| $select_update = array_key_exists( 'update', $options ) |
| $store = smwfGetStore() |
Definition at line 96 of file SMW_conceptCache.php.
Referenced by SDBrowseDataPage::addSemanticResultWrapper(), doAction(), SFUtils::getAllPagesForConcept(), SFUtils::getAllValuesForProperty(), SFFormLinker::getFormsThatPagePointsTo(), SMWConceptPage::getHtml(), SFFormLinker::getIncomingProperties(), SFFormLinker::getPagePropertiesOfPage(), SMWPropertyPage::getPropertyValueList(), SMWQueryProcessor::getResultFromQuery(), SFUtils::getSMWPropertyValues(), SMWPropertyPage::getSubpropertyList(), SMWSpecialTypes::getTypeProperties(), SDUtils::getValuesForProperty(), SDFilter::load(), SFTemplateField::setTypeAndPossibleValues(), SMWParseData::storeData(), and SMWPropertyPage::subjectObjectList().
| if(!isset($smwgIP)) |
Definition at line 90 of file SMW_conceptCache.php.
1.5.6