コード例 #1
0
ファイル: Bootstrap.php プロジェクト: stevleibelt/zf-propel
 /**
  * Set Module Name
  * 
  * @param string $module
  * @return void
  */
 public static function setModule($module)
 {
     static::$module_name = $module;
 }
コード例 #2
0
 public function setSystemNames($module_name, $page_name)
 {
     if (empty($module_name)) {
         throw new InvalidArgumentException("\$module_name have to be non empty string");
     }
     if (empty($page_name)) {
         throw new InvalidArgumentException("\$page_name have to be non empty string");
     }
     static::$module_name = $module_name;
     static::$page_name = $page_name;
 }