| Conditions | 3 |
| Paths | 3 |
| Total Lines | 8 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public static function initModelsValidators(&$config){ |
||
| 14 | $models=CacheManager::getModels($config,true); |
||
| 15 | foreach ($models as $model){ |
||
| 16 | $parser=new ValidationModelParser(); |
||
| 17 | $parser->parse($model); |
||
| 18 | $validators=$parser->getValidators(); |
||
| 19 | if(sizeof($validators)>0){ |
||
| 20 | self::store($model, $parser->__toString()); |
||
| 21 | } |
||
| 35 |