cvs: pear /Structures_DataGrid/DataGrid/DataSource DBTable.php

From: Date: Fri, 27 May 2005 14:51:31 +0000
Subject: cvs: pear /Structures_DataGrid/DataGrid/DataSource DBTable.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32156@lists.php.net to get a copy of this message
asnagy Fri May 27 10:51:31 2005 EDT Modified files: /pear/Structures_DataGrid/DataGrid/DataSource DBTable.php Log: Bug #4254 - Made final updates http://cvs.php.net/diff.php/pear/Structures_DataGrid/DataGrid/DataSource/DBTable.php?r1=1.2&r2=1.3&ty=u Index: pear/Structures_DataGrid/DataGrid/DataSource/DBTable.php diff -u pear/Structures_DataGrid/DataGrid/DataSource/DBTable.php:1.2 pear/Structures_DataGrid/DataGrid/DataSource/DBTable.php:1.3 --- pear/Structures_DataGrid/DataGrid/DataSource/DBTable.php:1.2 Mon May 16 14:57:14 2005 +++ pear/Structures_DataGrid/DataGrid/DataSource/DBTable.php Fri May 27 10:51:29 2005 @@ -17,14 +17,14 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: DBTable.php,v 1.2 2005/05/16 18:57:14 asnagy Exp $ +// $Id: DBTable.php,v 1.3 2005/05/27 14:51:29 asnagy Exp $ /** * PEAR::DB_Table Data Source Driver * * This class is a data source driver for the PEAR::DB_Table object * -* @version $Revision: 1.2 $ +* @version $Revision: 1.3 $ * @author Andrew S. Nagy <asnagy@php.net> * @author Mark Wiesemann <wiesemann@php.net> * @access public @@ -71,7 +71,7 @@ * * @access public */ - function Structures_DataGrid_DataSource_DB_Table() + function Structures_DataGrid_DataSource_DBTable() { parent::Structures_DataGrid_DataSource(); } @@ -79,9 +79,10 @@ /** * Bind * - * @param object DB_Table The object (subclass of DB_Table) to bind - * @param mixed Nothing or - * array('view' => [name of "view" key]) + * @param object DB_Table $object The object (subclass of + * DB_Table) to bind + * @param mixed $options array('view' => + * [name of "view" key]) * @access public * @return mixed True on success, PEAR_Error on failure */ @@ -99,8 +100,7 @@ $this->setOptions($options); return true; } else { - return new PEAR_Error( - 'Invalid "view" specified ' . + return new PEAR_Error('Invalid "view" specified ' . '[must be a key in array of DB_Table subclass]'); } } @@ -175,4 +175,4 @@ } -?> \ No newline at end of file +?>

« previous php.pear.cvs (#32156) next »