Пример #1
0
 /**
  * Get full class name for the main module class.
  * 
  * @param  string $module_name
  * @return string              
  */
 public static function get_class_by_module_name($module_name)
 {
     $class_name = podlove_snakecase_to_camelsnakecase($module_name);
     $namespace_name = podlove_camelsnakecase_to_camelcase($class_name);
     return "\\Podlove\\Modules\\{$namespace_name}\\{$class_name}";
 }
Пример #2
0
 protected function get_module_class_name()
 {
     return podlove_snakecase_to_camelsnakecase($this->module_name);
 }