omusico / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Doctrine Source problem #795

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I try to migrate this code from ZFDatagrid 0.7.1 to 0.8 :

class Admin_IndexController extends Zend_Controller_Action
{

    public function indexAction() {
        $grid = Bvb_Grid::factory();

        $query = Core_Model_BilletTable::getInstance()->createQuery();
        $source = new Bvb_Grid_Source_Doctrine($query);
        $grid->setSource($source);

        $grid->setImagesUrl('/images/grid/');

        $this->view->grid = $grid->deploy();
    }

}

Fatal error: Declaration of Bvb_Grid_Source_Doctrine::getIdentifierColumns() 
must be compatible with that of 
Bvb_Grid_Source_SourceInterface::getIdentifierColumns() in C:\Program Files 
(x86)\UwAmp\phpapps\ZFDatagrid\ZFDatagrid-0.8\Bvb\Grid\Source\Doctrine.php on 
line 13

Original issue reported on code.google.com by r.lecler...@gmail.com on 2 Dec 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Doctrine version : 1.2.4 (I can't migrate to 2.x)

Original comment by r.lecler...@gmail.com on 2 Dec 2011 at 1:43

GoogleCodeExporter commented 9 years ago
Do you have some news ?

please help ...

Original comment by admin.pb...@gmail.com on 30 May 2012 at 12:41