
By: Guest | Date: Mar 21 2010 20:58 | Format: PHP | Expires: never | Size: 749 B | Hits: 1693
- <?php
- FINAL CLASS User_Broadcast EXTENDS ILLI_Broadcast
- {
- private $USER = NULL;
- private $loggenIn = FALSE;
- {
- $this->USER = new ILLI_ArrayObject;
- $this->USER->setFlags(ILLI_ArrayObject::ARRAY_AS_PROPS);
- if($this->_root->Boot->System->Registry->get()->SESSION->COOKIE === TRUE)
- {
- $this->_root->Api->Database->db_connect();
- $this->USER->SESSION =
- $this->_root->Api->Database->simple_select_search
- (
- 'user_session',
- $this->_root->Boot->System->Registry->get()->SESSION->ID,
- 'sid'
- )->{0};
- v($this->USER);
- }
- }
- final public function loggedIn()
- {
- return 'loggedIn';
- }
- }
Latest pastes
1 hours ago
2 hours ago
2 hours ago
3 hours ago
6 hours ago