Sim Posted November 27, 2021 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
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.