cvs: pear /Structures_DataGrid/DataGrid/Renderer Smarty.php

From: Date: Thu, 16 Mar 2006 20:37:27 +0000
Subject: cvs: pear /Structures_DataGrid/DataGrid/Renderer Smarty.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-39133@lists.php.net to get a copy of this message
olivierg Thu Mar 16 20:37:27 2006 UTC Modified files: /pear/Structures_DataGrid/DataGrid/Renderer Smarty.php Log: Added a few BC FIXMEs http://cvs.php.net/viewcvs.cgi/pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php?r1=1.15&r2=1.16&diff_format=u Index: pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php diff -u pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.15 pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.16 --- pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php:1.15 Thu Mar 16 20:14:50 2006 +++ pear/Structures_DataGrid/DataGrid/Renderer/Smarty.php Thu Mar 16 20:37:27 2006 @@ -18,7 +18,7 @@ // | Mark Wiesemann <wiesemann@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Smarty.php,v 1.15 2006/03/16 20:14:50 olivierg Exp $ +// $Id: Smarty.php,v 1.16 2006/03/16 20:37:27 olivierg Exp $ require_once 'Structures/DataGrid/Renderer.php'; @@ -87,7 +87,7 @@ * </table> * </code> * - * @version $Revision: 1.15 $ + * @version $Revision: 1.16 $ * @author Andrew S. Nagy <asnagy@webitecture.org> * @author Olivier Guilyardi <olivier@samalyse.com> * @access public @@ -151,7 +151,9 @@ if (!isset($this->_smarty)) { $this->_smarty = new Smarty(); } + //FIXME: BC break - Old variable was : currentPage $this->_smarty->assign('page', $this->_page); + //FIXME: BC break - Old variable was : recordLimit $this->_smarty->assign('pageLimit', $this->_pageLimit); $this->_smarty->assign('columnsNum', $this->_columnsNum); $this->_smarty->assign('recordsNum', $this->_recordsNum); @@ -201,6 +203,7 @@ $prepared[$index]['label'] = $spec['label']; } + //FIXME: BC break (?) - Old variable was : columnSet $this->_smarty->assign('columns', $prepared); } @@ -212,6 +215,7 @@ */ function buildBody() { + //FIXME: BC break - Old variable was : recordSet $this->_smarty->assign('records', $this->_records); }

« previous php.pear.cvs (#39133) next »