PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Structures_DataGrid » Bug #8210

documented function getDataSource doesn't exist

Details

Submitted2006-07-13 16:02 UTC
Fromclark at thirteen dot net
Assignedwiesemann
StatusClosed
PackageStructures_DataGrid
PHP VersionIrrelevant
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()