/** * Get address fields 1-3 for secondary address from database * * @param mixed $element * @internal Street address as asked for by the adr_*_street false fields are actually concatenations of add1 and add2, therefore that needs its own handler */ function select_adr_two_street($element) { $this->set_secondary_address($element); $this->field_list['adr_one_street'] = phpgwapi_sql_criteria::concat_null(array($this->put_alias('add1'), $this->put_alias('add2'), $this->put_alias('add3'))); }