Esempio n. 1
0
 /** @param array|object */
 public function __construct($iter = null)
 {
     parent::__construct($this, $iter);
     $this->isMovie = $this->season === 0 ? 1 : 0;
     $this->twoparter = !empty($this->twoparter);
     $this->formatScore();
 }
Esempio n. 2
0
 /** @param array|object */
 public function __construct($iter = null)
 {
     parent::__construct($this, $iter);
     if (!empty($this->role)) {
         $this->rolelabel = Permission::ROLES_ASSOC[$this->role];
     }
 }
Esempio n. 3
0
 /** @param array|object */
 public function __construct($iter = null)
 {
     parent::__construct($this, $iter);
 }
Esempio n. 4
0
 /**
  * @param object       $obj
  * @param array|object $iter
  */
 public function __construct($obj, $iter = null)
 {
     parent::__construct($obj, $iter);
     $this->lock = !empty($this->lock);
     $this->isFinished = !empty($this->deviation_id) && !empty($this->reserved_by);
 }