OSDN Git Service

replace constructor from class name method to __constuct()
[ethna/ethna.git] / class / Ethna_ActionForm.php
index 4050c49..5f56448 100644 (file)
@@ -91,7 +91,7 @@ class Ethna_ActionForm
      *  @access public
      *  @param  object  Ethna_Controller    $controller    controllerオブジェクト
      */
-    function Ethna_ActionForm($controller)
+    public function __construct($controller)
     {
         $this->backend = $controller->getBackend();
         $this->action_error = $controller->getActionError();