Ubiquity  2.0.3
php rapid development framework
UbiquityUtils.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Ubiquity\utils;
4 
6 
7 class UbiquityUtils {
8  public static function getModelsName($config,$name){
9  $modelsNS=$config["mvcNS"]["models"];
10  return ClassUtils::getClassNameWithNS($modelsNS, $name);
11  }
12 
13  public static function getControllerName($config,$name){
14  $modelsNS=$config["mvcNS"]["controllers"];
15  return ClassUtils::getClassNameWithNS($modelsNS, $name);
16  }
17 }
static getModelsName($config, $name)
static getClassNameWithNS($defaultNS, $name)
Definition: ClassUtils.php:128
static getControllerName($config, $name)