[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] SF.net SVN: squirrelmail:[14621] branches/SM-1_4-STABLE/squirrelmail/class/ html.class.php
From: pdontthink () users ! sourceforge ! net
Date: 2016-12-10 10:36:20
Message-ID: E1cFf0x-0004LZ-W9 () sfs-ml-1 ! v29 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 14621
http://sourceforge.net/p/squirrelmail/code/14621
Author: pdontthink
Date: 2016-12-10 10:36:20 +0000 (Sat, 10 Dec 2016)
Log Message:
-----------
Add PHP5-style constructor
Modified Paths:
--------------
branches/SM-1_4-STABLE/squirrelmail/class/html.class.php
Modified: branches/SM-1_4-STABLE/squirrelmail/class/html.class.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/class/html.class.php 2016-12-10 10:34:21 UTC \
(rev 14620)
+++ branches/SM-1_4-STABLE/squirrelmail/class/html.class.php 2016-12-10 10:36:20 UTC \
(rev 14621) @@ -19,7 +19,10 @@
var $tag, $text, $style, $class,
$id, $html_el = array(), $javascript, $xtr_prop;
- function html($tag='', $text='', $style ='', $class='', $id='',
+ /**
+ * Constructor (PHP5 style, required in some future version of PHP)
+ */
+ function __construct($tag='', $text='', $style ='', $class='', $id='',
$xtr_prop = '', $javascript = '') {
$this->tag = $tag;
$this->text = $text;
@@ -30,6 +33,14 @@
$this->javascript = $javascript;
}
+ /**
+ * Constructor (PHP4 style, kept for compatibility reasons)
+ */
+ function html($tag='', $text='', $style ='', $class='', $id='',
+ $xtr_prop = '', $javascript = '') {
+ self::__construct($tag, $text, $style, $class, $id, $xtr_prop, $javascript);
+ }
+
function htmlAdd($el, $last=true) {
if ($last) {
$this->html_el[] = $el;
This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic