/** @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(); }
/** @param array|object */ public function __construct($iter = null) { parent::__construct($this, $iter); if (!empty($this->role)) { $this->rolelabel = Permission::ROLES_ASSOC[$this->role]; } }
/** @param array|object */ public function __construct($iter = null) { parent::__construct($this, $iter); }
/** * @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); }