Index: branches/5.2.x/core/kernel/event_handler.php =================================================================== diff -u -N -r14851 -r14989 --- branches/5.2.x/core/kernel/event_handler.php (.../event_handler.php) (revision 14851) +++ branches/5.2.x/core/kernel/event_handler.php (.../event_handler.php) (revision 14989) @@ -1,6 +1,6 @@ getPrefixSpecial(true) instead of * $event->getPrefixSpecial() as usual. This is due PHP * is converting "." symbols in variable names during * submit info "_". $event->getPrefixSpecial optional - * 1st parameter returns correct corrent Prefix_Special - * for variables beeing submitted such way (e.g. variable + * 1st parameter returns correct current Prefix_Special + * for variables being submitted such way (e.g. variable * name that will be converted by PHP: "users.read_only_id" * will be submitted as "users_read_only_id". * @@ -68,6 +68,7 @@ /** * Define alternative event processing method names * + * @return void * @see kEventHandler::$eventMethods * @access protected */ @@ -79,6 +80,7 @@ /** * Allows to override standard permission mapping * + * @return void * @access protected * @see kEventHandler::$permMapping */ @@ -104,7 +106,7 @@ * @param kEvent $event * @access public */ - public function processEvent(&$event) + public function processEvent(kEvent &$event) { $event_name = $event->Name; @@ -124,9 +126,10 @@ * Sample dummy event * * @param kEvent $event + * @return void * @access protected */ - protected function OnBuild(&$event) + protected function OnBuild(kEvent &$event) { } @@ -135,13 +138,14 @@ * Returns to previous template in opener stack * * @param kEvent $event + * @return void * @access protected */ - protected function OnGoBack(&$event) + protected function OnGoBack(kEvent &$event) { $url = $this->Application->RecallVar('export_finish_url'); - if ($url) { + if ( $url ) { $this->Application->Redirect('external:' . $url); } @@ -158,7 +162,7 @@ * @return void * @access protected */ - protected function prepareObject(&$object, &$event) + protected function prepareObject(&$object, kEvent &$event) { } @@ -170,7 +174,7 @@ * @return bool * @access public */ - public function CheckPermission(&$event) + public function CheckPermission(kEvent &$event) { $perm_helper =& $this->Application->recallObject('PermissionsHelper'); /* @var $perm_helper kPermissionsHelper */