PHP Class Ouzo\Db\ModelJoin

Show file Open project: letsdrink/ouzo Class Usage Examples

Public Methods

Method Description
__construct ( $destinationField, $fromTable, $relation, $alias, $type, $on, $fetch )
alias ( )
asJoinClause ( )
destinationField ( )
equals ( ModelJoin $other )
equalsPredicate ( $other )
getModelObject ( ) : Model
storeField ( )

Method Details

__construct() public method

public __construct ( $destinationField, $fromTable, $relation, $alias, $type, $on, $fetch )

alias() public method

public alias ( )

asJoinClause() public method

public asJoinClause ( )

destinationField() public method

public destinationField ( )

equals() public method

public equals ( ModelJoin $other )
$other ModelJoin

equalsPredicate() public static method

public static equalsPredicate ( $other )

getModelObject() public method

public getModelObject ( ) : Model
return Ouzo\Model

storeField() public method

public storeField ( )