Регистр файлов

This commit is contained in:
origami11 2017-02-16 10:14:36 +03:00
parent 4fd0187ea6
commit c8958cbee0
83 changed files with 25 additions and 53 deletions

View file

@ -1,19 +0,0 @@
<?php
require_once 'abstract.php';
/**
* Проверка на число
*/
class Rule_Numeric extends Rule_Abstract
{
public function getErrorMsg()
{
return "Значение поля должно быть числом";
}
public function isValid(Collection $container, $status = null)
{
return (is_numeric($container->get($this->field)));
}
}