<?php require_once "../ChunCore/ChunConfigurator/ChunIncluder.php"; ChunIncluder::includeControlManagerModuls(); class ControlManagerBase { protected $request_url = ""; protected $parsed_request_url = ""; protected $caller_model_name = ""; protected $function_name = ""; protected $function_parameters = null; protected $exploded_request_url = null; const explode_delimiter_for_url = '/'; function __construct($_caller_model_name) { $this->caller_model_name = $_caller_model_name; $this->setCallerModelNameToCorrectFormat(); } protected function callControlFunction() { $this->startUrlProcessing(); } private function setCallerModelNameToCorrectFormat() { $this->caller_model_name = $this->caller_model_name . DEFAULT_FILE_EXT; } private function startUrlProcessing() { $this->request_url = $_SERVER['REQUEST_URI']; $this->parseRequestUrl(); }