Adds a relationship type to a query.
public addRelationship ( string $relationship, array $args ) : Horde_Rdo_Query | ||
$relationship | string | The name of the relationship as defined in the mapper. |
$args | array | The parameter array as defined in the mapper: - mapper: The mapper object of the result class. - table: Optional name of the table to use. - tableAlias: Optional alias name for the base table. - join_type: Optional explicitly control the type of join. - type: The type of relation, any of the constants in Horde_Rdo. |
return | Horde_Rdo_Query | This object. |