Source for file DataHandler.php
Documentation is available at DataHandler.php
declare(encoding = "utf-8");
* This file is part of ForwardFW a web application framework.
* This library 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 2.1 of the License, or (at your option) any later version.
* This library 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 library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* @author Alexander Opitz <opitz.alexander@primacom.net>
* @copyright 2009,2010 The Authors
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @link http://forwardfw.sourceforge.net
* @since File available since Release 0.0.7
* Interface for a DataLoader.
* @author Alexander Opitz <opitz.alexander@primacom.net>
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @link http://forwardfw.sourceforge.net
* @param ForwardFW_Interface_Application $application The running application
ForwardFW_Interface_Application $application
* Calls the loading if it isn't in cache or cache timed out.
* @param string $strConnection Name of connection defined in conf.
* @param array $arOptions Operations for this load.
* @param integer $nCacheTimeout Cache lifetime, -1 to use default.
* @return mixed The response Data
$strConnection, array $arOptions, $nCacheTimeout = - 1
* @param string $strConnection Name of connection defined in conf.
* @param array $arOptions Operations for this load.
* @return mixed The response Data
public function loadFrom($strConnection, array $arOptions);
* @param string $strConnection Name of connection defined in conf.
* @param array $options Operations for the saving.
public function saveTo($strConnection, array $options);
* Initialize the given connection.
* @param string $strConnection Name of connection defined in conf.
public function initConnection($strConnection);
|