Usage

array aql::form ( string $model_name )

Parameters

model_name
The name of the model

Return Values

Returns the clause array that are within the aql of the given model.

Example

<?
$clauses = aql::get_clauses_from_model( 'album' );
print_r( $clauses );
/*
array(
    'where' => array(),
    'order by' => array()
)
*/
?>

See Also

  • aql
  • clause array
Last edited Sun Jan 29 10:46:31 2012 by Will Schmid
2.188 s