Home » Structures » Structures_DataGrid » Bug #8210
documented function getDataSource doesn't exist
Details
| Submitted | 2006-07-13 16:02 UTC |
|---|---|
| From | clark at thirteen dot net |
| Assigned | wiesemann |
| Status | Closed |
| Package | Structures_DataGrid |
| PHP Version | Irrelevant |
| Roadmaps | (Not assigned) |
Comments
[2006-07-13 16:02 UTC] clark at thirteen dot net
Description:
------------
The function getDataSource, documented at
http://pear.php.net/manual/en/package.structures.structures-datagrid.structures-datagrid.getdatasource.php
doesn't actually exist.
Function code included below. Please paste wherever you like.
Test script:
---------------
/**
* Get DataSource
*
* Retrieves the datasource object as a reference
*
* @access public
*/
function &getDataSource()
{
return $this->_dataSource;
}
Expected result:
----------------
A reference to the data source objected contained by the datagrid.
Actual result:
--------------
PHP fatal error Call to undefined method Structures_DataGrid::getDataSource()