X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plekit%2Fphp%2Ftoggle.php;fp=plekit%2Fphp%2Ftoggle.php;h=014be9e481b3629108bba408ca85dd9277ccff83;hb=f0fda226610166bcb313f6d1c6a963d9b9e1f94c;hp=b481195ccf87e1c9e3252538ab2414a96bd841f5;hpb=53fb202a0ed1ef1df5c9c292de2fc410b782e5bb;p=plewww.git diff --git a/plekit/php/toggle.php b/plekit/php/toggle.php index b481195..014be9e 100644 --- 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();