This repository was archived by the owner on Jan 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
wzs/centixx
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Przydante info
Sporo rzeczy jest dostepna przez globalny rejestr Zend_Registry::getInstance()
Logowanie akcji systemowych:
w kontrolerze: $this->_logger->log("Treść", Centixx_Log::Centixx);
(jeśli trzeba gdzieś indziej: Zend_Registry::getInstance()->get('log')->log("Treść", Centixx_Log::Centixx))
Dostęp do obiektu obecnie zalogowanego użytkownika
w kontrolerze: $this->_currentUser
gdzie indziej: Zend_Registry::getInstance()->get('currentUser')
Dostęp do bazy
jeśli nia ma jakoś inaczej dostepu, to $db = Zend_Registry::getInstance()->get('db')
jeśli chcemy mieć dostęp do PDO (odpowiednik JDBC - patrz manual.php.net) trzeba $pdo = $db->getDefaultAdapter()About
Centixx is a web application based on Zend Framework with functionality of simple project management and timesheet.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published