Orion PHP  0.11.12
The PHP5.3 framework
base.php
Go to the documentation of this file.
00001 <?php
00002 
00003 namespace Orion\Core\Query;
00004 
00005 
00006 /**
00007  * \Orion\Core\Query\Base
00008  * 
00009  * Orion Query base interface.
00010  *
00011  * @author Thibaut Despoulain
00012  * @license BSD 4-clauses
00013  * @version 0.11.12
00014  */
00015 interface Base
00016 {
00017     public function __construct( $model );
00018     
00019     public function &select( $fields );
00020     public function &selectAllExcept( $fields );
00021     public function &join( $link, $fields, $type );
00022     public function &delete( );
00023     public function &save( );
00024     public function &update( );
00025     
00026     public function &set( $key, $value );
00027     
00028     public function fetch( );
00029     public function fetchAll( );
00030     
00031     public function &limit( $number );
00032     public function &offset( $number );
00033     
00034     public function &order( $field, $mode );
00035     
00036     public function &andWhere( $field, $comparator, $value );
00037     public function &orWhere( $field, $comparator, $value );
00038     public function &manualWhere( $cond );
00039     public function &where( $field, $comparator, $value );
00040     
00041     public function escape( $data );
00042     public function tablePrefix( $fields );
00043     
00044     public function &setTable( $table );
00045     public function &unsetTable( );
00046     
00047 }
00048 
00049 ?>