Generic Function to add left join to a request
static public addLeftJoin ( $itemtype, $ref_table, array &$already_link_tables, $new_table, $linkfield, $meta, $meta_type, $joinparams = [], $field = '' ) : Left | ||
$itemtype | item type | |
$ref_table | reference table | |
$already_link_tables | array | array of tables already joined |
$new_table | new table to join | |
$linkfield | linkfield for LeftJoin | |
$meta | is it a meta item ? (default 0) | |
$meta_type | meta type table (default 0) | |
$joinparams | array join parameters (condition / joinbefore...) | |
$field | string field to display (needed for translation join) (default '') | |
Résultat | Left | join string |