Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
UbiquityUtils.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\utils
;
4
5
use
Ubiquity\cache\ClassUtils
;
6
7
class
UbiquityUtils
{
8
9
public
static
function
getModelsName
($config, $name): string {
10
$modelsNS = $config [
'mvcNS'
] [
'models'
];
11
return
ClassUtils::getClassNameWithNS ( $modelsNS, $name );
12
}
13
14
public
static
function
getControllerName
($config, $name): string {
15
$modelsNS = $config [
'mvcNS'
] [
'controllers'
];
16
return
ClassUtils::getClassNameWithNS ( $modelsNS, $name );
17
}
18
}
Ubiquity\cache\ClassUtils
Manipulates class and namespace names Ubiquity\cache$ClassUtils This class is part of Ubiquity.
Definition
ClassUtils.php:16
Ubiquity\utils\UbiquityUtils
Definition
UbiquityUtils.php:7
Ubiquity\utils\UbiquityUtils\getModelsName
static getModelsName($config, $name)
Definition
UbiquityUtils.php:9
Ubiquity\utils\UbiquityUtils\getControllerName
static getControllerName($config, $name)
Definition
UbiquityUtils.php:14
Ubiquity\utils
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity
src
Ubiquity
utils
UbiquityUtils.php
Generated on Sun Dec 10 2023 15:04:28 for
Ubiquity
by
doxygen
1.9.8