Переделка для composer autoload

This commit is contained in:
origami11 2017-02-09 14:57:40 +03:00
parent ad69746347
commit b5641db607
100 changed files with 14 additions and 325 deletions

View file

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