egroupware_official/etemplate/inc/class.so_sql.inc.php

33 lines
960 B
PHP
Raw Normal View History

<?php
/**
2016-03-06 10:05:20 +01:00
* EGroupware generalized SQL Storage Object
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package etemplate
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker@outdoor-training.de>
2016-03-06 10:05:20 +01:00
* @copyright 2002-16 by RalfBecker@outdoor-training.de
* @version $Id$
*/
2016-03-06 10:05:20 +01:00
use EGroupware\Api;
/**
* generalized SQL Storage Object
*
* the class can be used in following ways:
* 1) by calling the constructor with an app and table-name or
* 2) by setting the following documented class-vars in a class derived from this one
* Of cause you can derive from the class and call the constructor with params.
*
2016-03-06 10:05:20 +01:00
* @deprecated use Api\Storage\Base
*/
2016-03-06 10:05:20 +01:00
class so_sql extends Api\Storage\Base {}
/**
* Iterator applying a so_sql's db2data method on each element retrived
*
2016-03-06 10:05:20 +01:00
* @deprecated use Api\Storage\Db2DataIterator
*/
2016-03-06 10:05:20 +01:00
class so_sql_db2data_iterator extends Api\Storage\Db2DataIterator {}