/** * @brief 모듈의 WAP 클래스 객체 생성하여 WAP 준비 **/ function displayModuleContent() { // 선택된 모듈의 WAP class 객체 생성 $oModule =& getWap($this->module_info->module); if (!$oModule || !method_exists($oModule, 'procWAP')) { return; } $vars = get_object_vars($this->oModule); if (count($vars)) { foreach ($vars as $key => $val) { $oModule->{$key} = $val; } } // 실행 $oModule->procWAP($this); // 출력 $this->display(); }
/** * @brief Module to create a class object of the WAP WAP ready */ function displayModuleContent() { // Create WAP class objects of the selected module $oModule =& getWap($this->module_info->module); if (!$oModule || !method_exists($oModule, 'procWAP')) { return; } $vars = get_object_vars($this->oModule); if (count($vars)) { foreach ($vars as $key => $val) { $oModule->{$key} = $val; } } // Run $oModule->procWAP($this); // Output $this->display(); }