cvs: pear /Template Template.php
| From: | Alan Knowles | Date: | Mon, 14 Jun 2004 07:20:48 +0000 |
| Subject: | cvs: pear /Template Template.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20631@lists.php.net to get a copy of this message | ||
alan_k Mon Jun 14 03:20:48 2004 EDT
Modified files:
/pear/Template Template.php
Log:
fix all the typos
http://cvs.php.net/diff.php/pear/Template/Template.php?r1=1.2&r2=1.3&ty=u
Index: pear/Template/Template.php
diff -u pear/Template/Template.php:1.2 pear/Template/Template.php:1.3
--- pear/Template/Template.php:1.2 Sun Jun 13 23:18:56 2004
+++ pear/Template/Template.php Mon Jun 14 03:20:48 2004
@@ -33,7 +33,7 @@
* See example usage and in-progress documentation at {@link
* http://wiki.ciaweb.net/yawiki/index.php?area=Template}
*
-* $Id: Template.php,v 1.2 2004/06/14 03:18:56 pmjones Exp $
+* $Id: Template.php,v 1.3 2004/06/14 07:20:48 alan_k Exp $
*
* @package Template
*
@@ -245,7 +245,7 @@
default: // some kind of compiler specified...
$this->assertProvider('Compiler');
- if (true !=== ($r = $this->provider['Complier']->needsCompiling()))
{
+ if (true !== ($r = $this->provider['Complier']->needsCompiling()))
{
return $r;
}
return $this->provider['Complier']->compile();
@@ -305,7 +305,7 @@
if (isset($this->options['no_extract'])) {
if (!$this->data['object']) {
$this->data['object'] = (object)
$this->data['variables'];
- foreach(array_keys($this->data['byref']) as $k)
+ foreach(array_keys($this->data['byref']) as $k) {
$this->data['object']->$k =
$this->$this->data['byref'][$k];
}
}
@@ -351,7 +351,7 @@
function toString()
{
ob_start();
- if (is_a($r = $this->output(), 'PEAR_Error'))) {
+ if (is_a($r = $this->output(), 'PEAR_Error')) {
ob_end_clean();
return $r;
}
@@ -433,7 +433,7 @@
*/
function setData() {
- $this->assertProvider('Assign')
+ $this->assertProvider('Assign');
return $this->provider['Assign']>setData(func_get_args());
}
@@ -455,7 +455,7 @@
function setDataByRef($k,&$v) {
// load assigner..
- $this->assertProvider('Assign')
+ $this->assertProvider('Assign');
return $this->provider['Assign']->setDataByRef($k,$v);
}
/**