/** * Retrieve instance of an PageDAO or create one if it does * not exist. * * @access public * @static * @return PageDAO */ public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }