Example #1
0
 public function __construct(iPwDataSource $ds)
 {
     $this->fresh = $ds->getData();
     $src_id = array();
     foreach ($this->fresh as $key => $value) {
         $src_id[$value['type']][] = $value['src_id'];
     }
     foreach ($src_id as $key => $value) {
         $this->fresh_src[$key] = new $this->fresh_map[$key]($value);
     }
     $this->_init();
 }
Example #2
0
 public function __construct(iPwDataSource $ds, PwUserBo $user)
 {
     $this->data = $ds->getData();
     $this->user = $user;
     parent::__construct();
 }
Example #3
0
 public function __construct(iPwDataSource $ds)
 {
     $this->data = $ds->getData();
     parent::__construct();
 }
Example #4
0
 public function __construct(iPwDataSource $dataSource)
 {
     $this->pollData = $dataSource->getData();
     $this->_init();
 }