[ Index ] |
PHP Cross Reference of Web Application Component Toolkit |
[Summary view] [Print] [Text view]
1 <?php 2 //-------------------------------------------------------------------------------- 3 // Copyright 2003 Procata, Inc. 4 // Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html) 5 //-------------------------------------------------------------------------------- 6 /** 7 * @package WACT_UTIL 8 * @version $Id: emptydataset.inc.php,v 1.6 2004/06/15 03:03:50 jeffmoore Exp $ 9 */ 10 //-------------------------------------------------------------------------------- 11 /** 12 * A null implementation of the DataSpace and Iterator 13 * @see http://wact.sourceforge.net/index.php/EmptyDataSet 14 * @access public 15 * @package WACT_UTIL 16 */ 17 class EmptyDataSet /* implements DataSource, Iterator */ { 18 19 //-------------------------------------------------------------------------------- 20 // Iterator implementation 21 /** 22 * Iterator Method 23 * @return void 24 * @access public 25 */ 26 function reset() { 27 } 28 /** 29 * Iterator Method 30 * @return boolean FALSE 31 * @access public 32 */ 33 function next() { 34 return FALSE; 35 } 36 37 //-------------------------------------------------------------------------------- 38 // DataSource implementation 39 40 function get($name) { 41 } 42 43 function set($name, $value) { 44 } 45 46 function remove($name) { 47 } 48 49 function removeAll() { 50 } 51 52 function import($property_list) { 53 } 54 55 function merge($property_list) { 56 } 57 58 function &export() { 59 return array(); 60 } 61 62 function isDataSource() { 63 return TRUE; 64 } 65 66 function registerFilter(&$filter) { 67 } 68 69 function prepare() { 70 } 71 } 72 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 28 19:36:09 2004 | Cross-referenced by PHPXref 0.5 |