/** * Construct new document * * Construct new document * * @return void */ public function __construct() { $this->properties = array('language' => new phpillowRegexpValidator('(^(?:javascript)$)'), 'views' => new phpillowArrayValidator()); parent::__construct(); $this->language = 'javascript'; $this->views = $this->viewDefinitions; }
/** * Construct new book document * * Construct new book document and set its property validators. * * @return void */ public function __construct() { $this->properties = array('login' => new phpillowRegexpValidator('(^[\\x21-\\x7e]+$)i'), 'email' => new phpillowEmailValidator(), 'name' => new phpillowStringValidator(), 'valid' => new phpillowRegexpValidator('(^0|1|[a-f0-9]{32}$)'), 'auth_type' => new phpillowStringValidator(), 'auth_infos' => new phpillowNoValidator()); parent::__construct(); }
public function __construct() { $this->properties = array('login' => new phpillowStringValidator(), 'password' => new phpillowStringValidator()); parent::__construct(); }
public function __construct() { parent::__construct(); }
public function __construct() { $this->properties = array('nazwa' => new phpillowStringValidator(), 'szerokosc' => new phpillowStringValidator(), 'dlugosc' => new phpillowStringValidator(), 'ludnosc' => new phpillowStringValidator(), 'link' => new phpillowStringValidator()); parent::__construct(); }
public function __construct() { $this->properties = array('_id' => new phpillowStringValidator(), 'title' => new phpillowStringValidator(), 'text' => new phpillowTextValidator(), 'date' => new phpillowTextValidator(), 'comments' => new phpillowDocumentArrayValidator('myNewsComments')); parent::__construct(); }
/** * Construct new book document * * Construct new book document and set its property validators. * * @return void */ public function __construct() { $this->properties = array('name' => new phpillowRegexpValidator('(^[\\x21-\\x7e]+$)i'), 'description' => new phpillowTextValidator(), 'users' => new phpillowArrayValidator(), 'permissions' => new phpillowArrayValidator()); parent::__construct(); }
public function __construct() { $this->properties = array('_id' => new phpillowStringValidator(), 'title' => new phpillowStringValidator(), 'text' => new phpillowTextValidator(), 'date' => new phpillowTextValidator()); parent::__construct(); }
public function __construct() { $this->properties = array('message' => new phpillowStringValidator(), 'username' => new phpillowStringValidator(), 'timestamp' => new phpillowStringValidator(), 'tripcode' => new phpillowStringValidator()); parent::__construct(); }