cvs: pear /CodeGen/CodeGen Element.php
| From: | Hartmut Holzgraefe | Date: | Wed, 11 Oct 2006 10:05:05 +0000 |
| Subject: | cvs: pear /CodeGen/CodeGen Element.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-42489@lists.php.net to get a copy of this message | ||
hholzgra Wed Oct 11 10:05:05 2006 UTC
Modified files:
/pear/CodeGen/CodeGen Element.php
Log:
added missing getter required by derived classes
http://cvs.php.net/viewvc.cgi/pear/CodeGen/CodeGen/Element.php?r1=1.8&r2=1.9&diff_format=u
Index: pear/CodeGen/CodeGen/Element.php
diff -u pear/CodeGen/CodeGen/Element.php:1.8 pear/CodeGen/CodeGen/Element.php:1.9
--- pear/CodeGen/CodeGen/Element.php:1.8 Mon Oct 2 11:20:52 2006
+++ pear/CodeGen/CodeGen/Element.php Wed Oct 11 10:05:04 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Element.php,v 1.8 2006/10/02 11:20:52 hholzgra Exp $
+ * @version CVS: $Id: Element.php,v 1.9 2006/10/11 10:05:04 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -124,6 +124,15 @@
$this->ifCondition = $code;
}
+ /**
+ * ifCondition getter
+ *
+ * @return string
+ */
+ function getIfCondition()
+ {
+ return $this->ifCondition;
+ }
/**
* Conditional compilation start