コード例 #1
0
 private function processPageConfigurations($page_config_std)
 {
     $this->page_configurations = array();
     if (!is_array($page_config_std)) {
         $page_config_std = array($page_config_std);
     }
     if (self::DEBUG && self::DUMP) {
         u\DebugUtility::dump($page_config_std);
     }
     foreach ($page_config_std as $pc_std) {
         $pc = new p\PageConfiguration($pc_std, $this->getService(), self::TYPE);
         $this->page_configurations[] = $pc;
         $this->page_configuration_map[$pc->getName()] = $pc;
     }
 }
 public function setPageConfiguration(PageConfiguration $pc)
 {
     $this->page_configuration_id = $pc->getId();
     $this->page_configuration_name = $pc->getName();
     return $this;
 }