Sim Posted November 27, 2021 Share Posted November 27, 2021 private function getModule($moduleName = false) { if ($moduleName) { return $this->page->modules[$moduleName]; } return $this->page->modules; } The above code is the function The below code shows the function accepting 2 parameters. $this->html .= $this->page->buildElement("moduleList", array( "modules" => $this->getModule($this->methodData->moduleName, true) )); Maybe theres new PHP rules in place or ???? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.