예제 #1
0
 public function __construct(Yiiq $owner, $id)
 {
     if (!$id) {
         throw new \CException('Job id cannot be empty.');
     }
     parent::__construct($owner);
     $this->id = $id;
 }
예제 #2
0
 public function __construct(Yiiq $owner, $type, $class)
 {
     parent::__construct($owner);
     $this->type = $type;
     $this->class = $class;
 }
예제 #3
0
 public function __construct(Yiiq $owner, Job $job)
 {
     parent::__construct($owner);
     $this->job = $job;
 }