/** * Set Module Name * * @param string $module * @return void */ public static function setModule($module) { static::$module_name = $module; }
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; }