/** * Constructor * * @return void * */ public function __construct() { parent::__construct(); }
CoDev-Timetracking is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with CoDev-Timetracking. If not, see <http://www.gnu.org/licenses/>. */ require '../path.inc.php'; class DocController extends Controller { /** * Initialize complex static variables * @static */ public static function staticInit() { // Nothing special } protected function display() { // Nothing special $greasemonkey_url = Constants::$codevURL . '/mantis_monkey.user.js'; $this->smartyHelper->assign('greasemonkeyURL', $greasemonkey_url); } } // ========== MAIN =========== DocController::staticInit(); $controller = new DocController('../', 'Documentation', 'Doc'); $controller->execute();