$this->readStyleVariables();
$templateGroupList = new TemplateGroupList();
- $templateGroupList->sqlLimit = 0;
$templateGroupList->sqlOrderBy = "template_group.templateGroupName ASC";
$templateGroupList->readObjects();
$this->availableTemplateGroups = $templateGroupList->getObjects();
if ($this->verifyPermissions($this->userGroupOption)) {
// read all categories
$categoryList = new UserGroupOptionCategoryList();
- $categoryList->sqlLimit = 0;
$categoryList->readObjects();
$categories = array();
parent::readData();
$this->applicationList = new ViewableApplicationList();
- $this->applicationList->sqlLimit = 0;
$this->applicationList->readObjects();
}
public static function getOptions($objectTypeID) {
$optionList = new ACLOptionList();
$optionList->getConditionBuilder()->add("acl_option.objectTypeID = ?", array($objectTypeID));
- $optionList->sqlLimit = 0;
$optionList->readObjects();
return $optionList;
$languageCategory = $statement->fetchObject('wcf\data\language\category\LanguageCategory');
$languages = new LanguageList();
- $languages->sqlLimit = 0;
$languages->readObjects();
}
else {
$itemList = new LanguageItemList();
$itemList->getConditionBuilder()->add("language_item.languageItem IN (?)", array(array_keys($items)));
$itemList->getConditionBuilder()->add("language_item.languageID = ?", array($this->languageID));
- $itemList->sqlLimit = 0;
$itemList->readObjects();
foreach ($itemList->getObjects() as $languageItem) {
$languageItemList = new LanguageItemList();
$languageItemList->getConditionBuilder()->add("language_item.languageItem IN (?)", array(array_keys($items)));
$languageItemList->getConditionBuilder()->add("languageID = ?", array($this->languageID));
- $languageItemList->sqlLimit = 0;
$languageItemList->readObjects();
foreach ($languageItemList->getObjects() as $languageItem) {
$objectList->decoratorClassName = $this->decoratorClassName;
}
$objectList->getConditionBuilder()->add($tableAlias.".".$tableIndex." IN (?)", array($objectIDs));
- $objectList->sqlLimit = 0;
$objectList->readObjects();
return $objectList->getObjects();
*/
public static function getActiveUpdateServers(array $packageUpdateServerIDs = array()) {
$list = new PackageUpdateServerList();
- $list->sqlLimit = 0;
$list->getConditionBuilder()->add("isDisabled = ?", array(0));
if (!empty($packageUpdateServerIDs)) {
$list->getConditionBuilder()->add("packageUpdateServerID IN (?)", array($packageUpdateServerIDs));
$menuItemList = new PageMenuItemList();
$menuItemList->getConditionBuilder()->add("page_menu_item.menuItemID IN (?)", array($menuItemIDs));
$menuItemList->getConditionBuilder()->add("page_menu_item.menuPosition = ?", array($this->parameters['menuPosition']));
- $menuItemList->sqlLimit = 0;
$menuItemList->readObjects();
$this->menuItems = $menuItemList->getObjects();
// get language list
$languageList = new LanguageList();
- $languageList->sqlLimit = 0;
$languageList->readObjects();
// workaround for WCFSetup
}
$userGroupList = new UserGroupList();
- $userGroupList->sqlLimit = 0;
$userGroupList->readObjects();
foreach ($userGroupList as $userGroup) {
$groupIDs[] = $userGroup->groupID;
// load categories
$categoryList = new ACLOptionCategoryList();
- $categoryList->sqlLimit = 0;
$categoryList->getConditionBuilder()->add("acl_option_category.categoryName IN (?)", array($categoryNames));
$categoryList->getConditionBuilder()->add("acl_option_category.objectTypeID = ?", array($objectTypeID));
$categoryList->readObjects();
*/
public function getOptions($objectTypeID, ACLOptionCategory $category = null) {
$optionList = new ACLOptionList();
- $optionList->sqlLimit = 0;
if ($category !== null) {
$optionList->getConditionBuilder()->add("acl_option.categoryName = ?", array($category->categoryName));
}
*/
public static function rebuild() {
$applicationList = new ApplicationList();
- $applicationList->sqlLimit = 0;
$applicationList->readObjects();
$applicationAction = new ApplicationAction($applicationList->getObjects(), 'rebuild');
*/
public function getData(array $cacheResource) {
$list = new ACLOptionCategoryList();
- $list->sqlLimit = 0;
$list->readObjects();
$data = array();
// get "real" menu items
$menuItemList = new ACPMenuItemList();
- $menuItemList->sqlLimit = 0;
$menuItemList->readObjects();
foreach ($menuItemList as $menuItem) {
$data[$menuItem->parentMenuItem][] = $menuItem;
*/
protected function getTopOptionCategories() {
$optionCategoryList = new OptionCategoryList();
- $optionCategoryList->sqlLimit = 0;
$optionCategoryList->readObjects();
$optionCategories = $optionCategoryList->getObjects();
}
$optionList = new OptionList();
- $optionList->sqlLimit = 0;
$optionList->readObjects();
// collect names of categories which contain options
*/
public function getData(array $cacheResource) {
$providerList = new ACPSearchProviderList();
- $providerList->sqlLimit = 0;
$providerList->sqlOrderBy = "acp_search_provider.showOrder ASC";
$providerList->readObjects();
// fetch applications
$applicationList = new ApplicationList();
- $applicationList->sqlLimit = 0;
$applicationList->readObjects();
$applications = $applicationList->getObjects();
*/
public function getData(array $cacheResource) {
$list = new CategoryList();
- $list->sqlLimit = 0;
$list->sqlSelects = "object_type.objectType";
$list->sqlJoins = "LEFT JOIN wcf".WCF_N."_object_type object_type ON (object_type.objectTypeID = category.objectTypeID)";
$list->sqlOrderBy = "category.showOrder ASC";
*/
public function getData(array $cacheResource) {
$actionList = new ClipboardActionList();
- $actionList->sqlLimit = 0;
$actionList->readObjects();
return $actionList->getObjects();
$data = array();
$coreObjectList = new CoreObjectList();
- $coreObjectList->sqlLimit = 0;
$coreObjectList->readObjects();
$coreObjects = $coreObjectList->getObjects();
// get languages
$languageList = new LanguageList();
- $languageList->sqlLimit = 0;
$languageList->readObjects();
$data['languages'] = $languageList->getObjects();
foreach ($languageList->getObjects() as $language) {
// get language categories
$languageCategoryList = new LanguageCategoryList();
- $languageCategoryList->sqlLimit = 0;
$languageCategoryList->readObjects();
foreach ($languageCategoryList->getObjects() as $languageCategory) {
$data['categories'][$languageCategory->languageCategory] = $languageCategory;
);
$packageList = new PackageList();
- $packageList->sqlLimit = 0;
$packageList->readObjects();
foreach ($packageList as $package) {
*/
public function getData(array $cacheResource) {
$sitemapList = new SitemapList();
- $sitemapList->sqlLimit = 0;
$sitemapList->sqlOrderBy = "sitemap.showOrder ASC";
$sitemapList->readObjects();
public function getData(array $cacheResource) {
$spiderList = new SpiderList();
$spiderList->sqlOrderBy = "spider.spiderID ASC";
- $spiderList->sqlLimit = 0;
$spiderList->readObjects();
return $spiderList->getObjects();
*/
public function getData(array $cacheResource) {
$templateGroupList = new TemplateGroupList();
- $templateGroupList->sqlLimit = 0;
$templateGroupList->readObjects();
return $templateGroupList->getObjects();
// get templates for current package id
$templateListenerList = new TemplateListenerList();
$templateListenerList->getConditionBuilder()->add("template_listener.environment = ?", array($environment));
- $templateListenerList->sqlLimit = 0;
$templateListenerList->readObjects();
$data = array();
$templateListenerList = new TemplateListenerList();
$templateListenerList->getConditionBuilder()->add("template_listener.environment = ?", array($environment));
$templateListenerList->getConditionBuilder()->add("template_listener.templateName = ?", array($templateName));
- $templateListenerList->sqlLimit = 0;
$templateListenerList->readObjects();
$data = array();
// get all user groups
$groupList = new UserGroupList();
- $groupList->sqlLimit = 0;
$groupList->readObjects();
$groups = $groupList->getObjects();
foreach ($data as $objectType => $objectData) {
$objectList = new $objectData['className']();
$objectList->getConditionBuilder()->add($objectList->getDatabaseTableAlias() . "." . $objectList->getDatabaseTableIndexName() . " IN (?)", array($objectData['objectIDs']));
- $objectList->sqlLimit = 0;
$objectList->readObjects();
$this->markedItems[$objectType] = $objectList->getObjects();
// get language list
$languageList = new LanguageList();
- $languageList->sqlLimit = 0;
$languageList->readObjects();
// workaround for WCFSetup
$queueList = new PackageInstallationQueueList();
$queueList->getConditionBuilder()->add("package_installation_queue.parentQueueID = ?", array($this->installation->queue->queueID));
$queueList->getConditionBuilder()->add("package_installation_queue.queueID NOT IN (SELECT queueID FROM wcf".WCF_N."_package_installation_node)");
- $queueList->sqlLimit = 0;
$queueList->readObjects();
foreach ($queueList as $queue) {
$existingPackages = array();
$packageUpdateList = new PackageUpdateList();
$packageUpdateList->getConditionBuilder()->add("package_update.packageUpdateServerID = ? AND package_update.package IN (?)", array($packageUpdateServerID, array_keys($allNewPackages)));
- $packageUpdateList->sqlLimit = 0;
$packageUpdateList->readObjects();
$tmp = $packageUpdateList->getObjects();
// get version list
$versionList = new PackageUpdateVersionList();
$versionList->getConditionBuilder()->add("package_update_version.packageUpdateID IN (?)", array($packageUpdateIDs));
- $versionList->sqlLimit = 0;
$versionList->readObjects();
$tmp = $versionList->getObjects();
$isDefault = false;
$styleList = new StyleList();
$styleList->getConditionBuilder()->add("packageID = ?", array($this->installation->getPackageID()));
- $styleList->sqlLimit = 0;
$styleList->readObjects();
foreach ($styleList->getObjects() as $style) {
protected static function getAdminGroupIDs() {
if (empty(self::$adminGroupIDs)) {
$userGroupList = new UserGroupList();
- $userGroupList->sqlLimit = 0;
$userGroupList->readObjects();
foreach ($userGroupList as $userGroup) {
// read categories
$categoryList = new $this->listClassName();
- $categoryList->sqlLimit = 0;
$categoryList->readObjects();
foreach ($categoryList as $category) {