git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
constructors are named __construct for php8
[plewww.git]
/
plekit
/
php
/
toggle.php
diff --git
a/plekit/php/toggle.php
b/plekit/php/toggle.php
index
b481195
..
014be9e
100644
(file)
--- a/
plekit/php/toggle.php
+++ b/
plekit/php/toggle.php
@@
-37,7
+37,7
@@
class PlekitToggle {
var $id;
var $nifty;
- function
PlekitToggle
($id,$trigger,$options=NULL) {
+ function
__construct
($id,$trigger,$options=NULL) {
$this->id = $id;
$this->trigger=$trigger;
if ( ! $options ) $options = array();