Ejemplo n.º 1
0
 public function __construct($name, $class, $required = false)
 {
     parent::__construct($name, $required, new $class(), array());
     if (!$this->getValue() instanceof Entities_Interface) {
         throw new Entities_Exception("Invalid reference field value!");
     }
 }
Ejemplo n.º 2
0
 public function __construct($name, $required = false, $validators = array(), $value = array())
 {
     parent::__construct($name, $required, $value, $validators);
 }