* @copyright 2004 by http://wombat.exit0.net * @package wombatSite * @subpackage formDatasource */ /** * datasource for Wombat framework * * @version 0.1 * @package wombatSite * @subpackage formDatasource */ class wbFormDatasource_Test extends wbFormDatasource { /** * default values of used attributes * @access private * @var array $_params */ var $_atts = array( ); /** * returns values suitable for patForms-Elements * * @access public * @return boolean $result true on success */ function getValues() { $values = array( array( 'value' => '1', 'label' => 'test one' ), array( 'value' => '2', 'label' => 'test two' ), array( 'value' => '3', 'label' => 'test three' ), array( 'value' => '4', 'label' => 'test four' ), ); return $values; } } ?>