Query: yafapplication
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
YAFAPPLICATION(3) 1 YAFAPPLICATION(3) The YafApplication classINTRODUCTIONYaf_Application provides a bootstrapping facility for applications which provides reusable resources, common- and module-based bootstrap classes and dependency checking. Note Yaf_Application implements the singleton pattern, and Yaf_Application can not be serialized or unserialized which will cause problem when you try to use PHPUnit to write some test case for Yaf. You may use @backupGlobals annotation of PHPUnit to control the backup and restore operations for global variables. thus can solve this problem.CLASS SYNOPSISYaf_Application final Yaf_Application Properties o protected$config o protected$dispatcher o protectedstatic$_app o protected$_modules o protected$_running o protected$_environ Methods o publicstatic void Yaf_Application::app (void ) o public void Yaf_Application::bootstrap ([Yaf_Bootstrap_Abstract $bootstrap]) o public Yaf_Application Yaf_Application::clearLastError (void ) o private void Yaf_Application::__clone (void ) o public Yaf_Application::__construct (mixed $config, [string $envrion]) o public void Yaf_Application::__destruct (void ) o public void Yaf_Application::environ (void ) o public void Yaf_Application::execute (callable $entry, string $...) o public Yaf_Application Yaf_Application::getAppDirectory (void ) o public Yaf_Config_Abstract Yaf_Application::getConfig (void ) o public Yaf_Dispatcher Yaf_Application::getDispatcher (void ) o public string Yaf_Application::getLastErrorMsg (void ) o public int Yaf_Application::getLastErrorNo (void ) o public array Yaf_Application::getModules (void ) o public void Yaf_Application::run (void ) o public Yaf_Application Yaf_Application::setAppDirectory (string $directory) o private void Yaf_Application::__sleep (void ) o private void Yaf_Application::__wakeup (void )PROPERTIESo $config - o $dispatcher - o $_app - o $_modules - o $_running - o $_environ - PHP Documentation Group YAFAPPLICATION(3)
Related Man Pages |
---|
arrayiterator(3) - php |
cairopssurface(3) - php |
reflectionfunctionabstract(3) - php |
yaf_action_abstract(3) - php |
yaf_dispatcher(3) - php |
Similar Topics in the Unix Linux Community |
---|
Basic multi module problem |
Comparing subdirectory names |
ping from public IP |
Version checking |
UserCP and Other Private User Area Revisions (Phase 0) |