Changeset 43
- Timestamp:
- 02/11/08 00:38:15 (10 months ago)
- Files:
-
- trunk/Phergie/Event/Handler.php (modified) (1 diff)
- trunk/Phergie/Event/Handler/Acronym.php (modified) (1 diff)
- trunk/Phergie/Event/Handler/Lart.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Phergie/Event/Handler.php
r42 r43 114 114 * Handler for when the client session is about to be terminated. 115 115 * 116 * @param string $reason Reason for termination (optional)116 * @param Phergie_Event_Request $event 117 117 */ 118 public function onQuit( $reason = null) { }118 public function onQuit(Phergie_Event_Request $event) { } 119 119 120 120 /** trunk/Phergie/Event/Handler/Acronym.php
r39 r43 63 63 } 64 64 65 preg_match_all('/( [A-Z]{2,}+)\\?/', $event->getArgument(1), $acronyms);65 preg_match_all('/(?:^|\s+)([A-Z]{2,})\?/', $event->getArgument(1), $acronyms); 66 66 67 67 foreach ($acronyms[1] as $acronym) { trunk/Phergie/Event/Handler/Lart.php
r41 r43 101 101 $today = date('md'); 102 102 103 if ($ flushed != $today) {103 if ($this->_flushed != $today) { 104 104 unset($this->_cache); 105 105 $this->_flushed = $today;