Source for file PMO_Request.php
Documentation is available at PMO_Request.php
* This file contains the PMO_Request interface.
* This file is part of the PhpMyObject project,
* an Object-Relational Mapping (ORM) system.
* For questions, help, comments, discussion, etc., please join our
* forum at {@link http://www.developpez.net/forums/forumdisplay.php?f=770}
* or our mailing list at {@link http://groups.google.com/group/pmo-dev}.
* PhpMyObject is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see {@link http://www.gnu.org/licenses/}.
* @author Nicolas Boiteux <nicolas_boiteux@yahoo.fr>
* @link http://pmo.developpez.com/
* @since PhpMyObject v0.14
* @copyright Copyright (C) 2007-2008 Nicolas Boiteux
* @license GPLv3 {@link http://www.gnu.org/licenses/gpl}
* This interface defines the methods a class must implement
* to provide a working SQL request to the {@link PMO_MyController}
* the implementation must store the passed $field arguments
* in the {@link PMO_MyRequest::$field} property and return
* @param string $field,...
public function field($field);
* the implementation must store the passed $from arguments
* in the {@link PMO_MyRequest::$from} property and return
* @param string $from,...
public function from($from);
* the implementation must store the passed $where arguments
* in the {@link PMO_MyRequest::$where} property and return
* @param string $where,...
public function where($where);
* the implementation must store the passed $order arguments
* in the {@link PMO_MyRequest::$order} property and return
* @param string $order,...
public function order($order);
* the implementation must store the passed $having arguments
* in the {@link PMO_MyRequest::$having} array and return
* @param string $having,...
public function having($having);
* the implementation must store the passed $limit argument
* in the {@link PMO_MyRequest::$limit} property.
* @param string|integer$limit
public function limit($limit);
* the implementation must create the SQL query using
* @see PMO_MyRequest::toString()
* the implementation must reset the object
|