Ejemplo n.º 1
0
 public function createByProps($data = NULL)
 {
     $object = $this->_factory->createByProps($data);
     if (!$object->{$this->_guidProp}) {
         $object->{$this->_guidProp} = M('Guid')->get($this->_guidType);
     }
     return $object;
 }
Ejemplo n.º 2
0
 public function createByProps($data = NULL)
 {
     return new RM_TextFilter_ObjectDecorator($this->_factory->createByProps($data), $this->_config, $this->_default);
 }