[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 /** 3 * eGroupWare editable Templates - Example media database (et_media) 4 * 5 * @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License 6 * @package etemplate 7 * @subpackage et_media 8 * @link http://www.egroupware.org 9 * @author Ralf Becker <RalfBecker@outdoor-training.de> 10 * @version $Id$ 11 */ 12 13 include_once (EGW_INCLUDE_ROOT . '/etemplate/inc/class.so_sql.inc.php'); 14 15 /** 16 * Business object for et_media 17 */ 18 class bo_et_media extends so_sql 19 { 20 /** 21 * Availible media types 22 * 23 * @var array 24 */ 25 var $types = array( 26 '' => 'Select one ...', 27 'cd' => 'Compact Disc', 28 'dvd' => 'DVD', 29 'book' => 'Book', 30 'video' => 'Video Tape' 31 ); 32 /** 33 * Constructor initialising so_sql 34 * 35 * @return so_et_media 36 */ 37 function bo_et_media() 38 { 39 $this->so_sql('et_media','egw_et_media'); 40 $this->empty_on_write = "''"; 41 } 42 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |