Ubiquity/controllers/Startup.php 1 location
|
@@ 184-193 (lines=10) @@
|
| 181 |
|
return $result; |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
public static function checkModelsConfig() { |
| 185 |
|
$config = self::$config; |
| 186 |
|
$result = [ ]; |
| 187 |
|
if (! isset ( $config ["mvcNS"] )) { |
| 188 |
|
$result [] = "mvcNS"; |
| 189 |
|
} else { |
| 190 |
|
self::needsKeyInConfigArray ( $result, $config ["mvcNS"], [ "models" ] ); |
| 191 |
|
} |
| 192 |
|
return $result; |
| 193 |
|
} |
| 194 |
|
|
| 195 |
|
public static function getModelsDir() { |
| 196 |
|
return self::$config ["mvcNS"] ["models"]; |
Ubiquity/controllers/traits/StartupConfigTrait.php 1 location
|
@@ 61-70 (lines=10) @@
|
| 58 |
|
return $result; |
| 59 |
|
} |
| 60 |
|
|
| 61 |
|
public static function checkModelsConfig() { |
| 62 |
|
$config = self::$config; |
| 63 |
|
$result = [ ]; |
| 64 |
|
if (! isset ( $config ["mvcNS"] )) { |
| 65 |
|
$result [] = "mvcNS"; |
| 66 |
|
} else { |
| 67 |
|
self::needsKeyInConfigArray ( $result, $config ["mvcNS"], [ "models" ] ); |
| 68 |
|
} |
| 69 |
|
return $result; |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
|
| 73 |
|
public static function reloadConfig(){ |