PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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()