Mvc\Model\Validator\Inclusionin
Class Phalcon\Mvc\Model\Validator\Inclusionin
extends abstract class Phalcon\Mvc\Model\Validator
implements Phalcon\Mvc\Model\ValidatorInterface
Phalcon\Mvc\Model\Validator\InclusionIn Check if a value is included into a list of values
use Phalcon\Mvc\Model\Validator\InclusionIn as InclusionInValidator; class Subscriptors extends Phalcon\Mvc\Model { public function validation() { $this->validate(new InclusionInValidator(array( 'field' => 'status', 'domain' => array('A', 'I') ))); if ($this->validationHasFailed() == true) { return false;