Ejemplo n.º 1
0
 /**
  * Enter description here...
  *
  * @return bool
  */
 public function save()
 {
     if (!isNull($obHolder = $this->getHolder())) {
         if ($obHolder->is_personal) {
             $this->state = RM_Equipment_Entity_State::DELIVERED;
         }
     }
     parent::save();
 }
Ejemplo n.º 2
0
 /**
  * Enter description here...
  *
  * @param mixed $args
  * @return void 
  */
 function __construct($args)
 {
     parent::__construct($args);
     $this->type = NULL;
     // not error
 }