* @package gsSite */ include_once 'datasourceTester.php'; include_once '../include/wbFactory.php'; wbFactory::configure(); $ds =& wbFactory::singleton( 'wbDatasource' ); $users = $ds->getEntries( 'user' ); echo "users\n
";
print_r( $users );
echo "\n";
exit( 0 );
$clause = array(
array( 'bond' => 'or', 'type' => 'complex', 'clause' => array(
array( 'field' => 'park', 'value' => 'gerd' ),
array( 'field' => 'park', 'value' => 'doris' ),
) )
);
$where = array();
$ds->_clause2Where( 'park', $clause , $where );
echo "where\n"; print_r( $where ); echo "\n"; /* $dst =& new DataSourceTester(); $dst->test(); */ wbDebugger::printMsg(); ?>