DataGrid, DataObject and FormBuilder

From: Date: Mon, 02 May 2005 10:14:03 +0000
Subject: DataGrid, DataObject and FormBuilder
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19035@lists.php.net to get a copy of this message
hi, I use structures_DataGrid to bind and display some DataObject objects, but it can not dipslay getLinks fields which have a "_" prefix. Does DataGrid has this function. If it can not do this, why it use formBuilder's options variable like fb_fieldsToRender and fb_fieldsLabels. is the code below correct: $eb = new employee; require_once 'Structures/DataGrid.php'; $dg =& new Structures_DataGrid(4); $dg->bind($eb);//$dg->bind($eb,$option); $eb->find(); while ($eb->fetch()){ $eb->getLinks(); } $dg->render(); //$dg->dump(); echo $dg->renderer->getPaging(); bitShine _________________________________________________________ Do You Yahoo!? 150万曲MP3疯狂搜,带您闯入音乐殿堂 http://music.yisou.com/ 美女明星应有尽有,搜遍美图、艳图和酷图 http://image.yisou.com 1G就是1000兆,雅虎电邮自助扩容! http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

« previous php.pear.general (#19035) next »