コード例 #1
0
 /**
  * @see	wcf\page\IPage::readData()
  */
 public function readData()
 {
     parent::readData();
     // read applications
     $this->applicationList = new PackageList();
     $this->applicationList->getConditionBuilder()->add("package.isApplication = ?", array(1));
     $this->applicationList->getConditionBuilder()->add("package.packageID <> ?", array(1));
     $this->applicationList->sqlLimit = 0;
     $this->applicationList->readObjects();
     // read plugins
     $this->pluginList = Package::getPluginList();
     // count total plugins
     $this->pluginCount = $this->pluginList->countObjects();
     // read plugins
     $this->pluginList->sqlLimit = 20;
     $this->pluginList->readObjects();
 }