PHP Class Pommo_Sql, poMMo

..
Exibir arquivo Open project: soonick/poMMo Class Usage Examples

Public Methods

Method Description
fromFilter ( &$in, $p = null ) DEPRECIATED.
getLogic ( &$col, &$val, &$filters ) DEPRECIATED.
getSubQueries ( $in ) returns an array or SQL sub queries
groupSQL ( $group, $tally = false, $status = 1, $filter = false ) accepts a group object
sortLogic ( &$rules ) returns a logic array
sortRules ( &$rules ) returns a seperated rules array

Method Details

fromFilter() public method

...
public fromFilter ( &$in, $p = null )

getLogic() public method

...
public getLogic ( &$col, &$val, &$filters )

getSubQueries() public static method

returns an array or SQL sub queries
public static getSubQueries ( $in )

groupSQL() public static method

accepts a group object
public static groupSQL ( $group, $tally = false, $status = 1, $filter = false )

sortLogic() public static method

returns a logic array
public static sortLogic ( &$rules )

sortRules() public static method

returns a seperated rules array
public static sortRules ( &$rules )