/** * the constructor loads the available pages from the DB and stores it * in internal arrays * * @access private * @return void **/ public static function getInstance($skip_init = false) { if (!self::$instance) { self::$instance = new self(); if (!$skip_init) { self::init(); } } return self::$instance; }