/** * Get application instance * @return ZApplication */ public static final function &getApplication() { if (!Zoombi::getInstance()->m_application) { Zoombi::setApplication(new ZApplication()); } return Zoombi::getInstance()->m_application; }