Jump to content

Error when creating new controller in back office


Recommended Posts

When I creating module controller for backoffice I'm Getting the error check my code and error 

 

FYI : I Have created a menu in backoffice with the following details. 

 

Name : Marker Place

class :MarketPlace 

module : marketPlace

 

this my module controller code 

 

class MarketPlaceController extends ModuleAdminController
{
 
          public function __construct()
          {
                 parent::__construct();
          }
 
           public function initContent()
          {
                 parent::initContent();
                 $this->setTemplate('list.tpl');
           }
 
}

 

 

 

 

Fatal error: Call to undefined method marketPlace::viewAccess() in G:\xampp\htdocs\project1\admin4638\functions.php on line 273

Link to comment
Share on other sites

×
×
  • Create New...