Частичная синхронизация с CMS
This commit is contained in:
parent
312f18a20a
commit
b26e521657
62 changed files with 827 additions and 5992 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
///<reference path="rule/notnull.php"/>
|
||||
|
||||
/**
|
||||
* Проверка коллекции
|
||||
*/
|
||||
|
|
@ -66,8 +68,7 @@ class Validator_Validator
|
|||
}
|
||||
}
|
||||
|
||||
public function addRule(&$rule)
|
||||
{
|
||||
public function addRule(/*.any.*/&$rule) {
|
||||
if (is_array($rule)) {
|
||||
$this->chain = array_merge($this->chain, $rule);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue