Beispiel #1
0
 public function __construct(array $data = NULL)
 {
     parent::__construct($data);
     $this->family = DataSource_Hybrid_Field::FAMILY_SOURCE;
 }
Beispiel #2
0
 public function get_query_props(\Database_Query $query, DataSource_Hybrid_Agent $agent)
 {
     parent::get_query_props($query, $agent);
     $query->join(array('ds' . $this->ds_type, 'dss' . $this->id), 'left')->on(DataSource_Hybrid_Field::PREFFIX . $this->key, '=', 'dss' . $this->id . '.id')->on('dss' . $this->id . '.published', '=', DB::expr(1))->select(array('dss' . $this->id . '.header', $this->id . 'header'));
 }