cvs: pear /HTML_Table_Matrix/Matrix Filler.php /HTML_Table_Matrix/Matrix/Filler LRTB.php

From: Date: Wed, 16 Jun 2004 04:14:49 +0000
Subject: cvs: pear /HTML_Table_Matrix/Matrix Filler.php /HTML_Table_Matrix/Matrix/Filler LRTB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-20714@lists.php.net to get a copy of this message
ieure Wed Jun 16 00:14:49 2004 EDT Modified files: /pear/HTML_Table_Matrix/Matrix/Filler LRTB.php /pear/HTML_Table_Matrix/Matrix Filler.php Log: Pass by reference. http://cvs.php.net/diff.php/pear/HTML_Table_Matrix/Matrix/Filler/LRTB.php?r1=1.1.1.1&r2=1.2&ty=u Index: pear/HTML_Table_Matrix/Matrix/Filler/LRTB.php diff -u pear/HTML_Table_Matrix/Matrix/Filler/LRTB.php:1.1.1.1 pear/HTML_Table_Matrix/Matrix/Filler/LRTB.php:1.2 --- pear/HTML_Table_Matrix/Matrix/Filler/LRTB.php:1.1.1.1 Mon Apr 19 19:47:14 2004 +++ pear/HTML_Table_Matrix/Matrix/Filler/LRTB.php Wed Jun 16 00:14:48 2004 @@ -16,7 +16,7 @@ // | Authors: Ian Eure <ieure@php.net> | // +----------------------------------------------------------------------+ // -// $Id: LRTB.php,v 1.1.1.1 2004/04/19 23:47:14 ieure Exp $ +// $Id: LRTB.php,v 1.2 2004/06/16 04:14:48 ieure Exp $ require_once 'HTML/Table/Matrix/Filler.php'; @@ -38,7 +38,7 @@ */ function HTML_Table_Matrix_Filler_LRTB(&$matrix, $options = false) { $this->setOptions($options); - $this->matrix = $matrix; + $this->matrix = &$matrix; } /** http://cvs.php.net/diff.php/pear/HTML_Table_Matrix/Matrix/Filler.php?r1=1.1.1.1&r2=1.2&ty=u Index: pear/HTML_Table_Matrix/Matrix/Filler.php diff -u pear/HTML_Table_Matrix/Matrix/Filler.php:1.1.1.1 pear/HTML_Table_Matrix/Matrix/Filler.php:1.2 --- pear/HTML_Table_Matrix/Matrix/Filler.php:1.1.1.1 Mon Apr 19 19:47:14 2004 +++ pear/HTML_Table_Matrix/Matrix/Filler.php Wed Jun 16 00:14:49 2004 @@ -16,7 +16,7 @@ // | Authors: Ian Eure <ieure@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Filler.php,v 1.1.1.1 2004/04/19 23:47:14 ieure Exp $ +// $Id: Filler.php,v 1.2 2004/06/16 04:14:49 ieure Exp $ /** * Base class common to all Fillers @@ -81,7 +81,7 @@ if (!class_exists($class)) { return PEAR::raiseError("Filler \"$type\" does not exist."); } - $instance = new $class($matrix, $options); + $instance = new $class(&$matrix, $options); return $instance; }

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