Index: branches/1.2.x/units/sections/users/e_user_eh.php =================================================================== diff -u -N -r14562 -r14622 --- branches/1.2.x/units/sections/users/e_user_eh.php (.../e_user_eh.php) (revision 14562) +++ branches/1.2.x/units/sections/users/e_user_eh.php (.../e_user_eh.php) (revision 14622) @@ -28,11 +28,13 @@ } /** - * Permission exceptions + * Checks user permission to execute given $event * * @param kEvent $event + * @return bool + * @access public */ - function CheckPermission(&$event) + public function CheckPermission(&$event) { $skip_permissions_check_events = Array ( 'OnAnotherCustomEvent', @@ -66,11 +68,14 @@ } /** - * Sets custom query for the list + * Apply any custom changes to list's sql query * * @param kEvent $event + * @return void + * @access protected + * @see kDBEventHandler::OnListBuild() */ - function SetCustomQuery(&$event) + protected function SetCustomQuery(&$event) { parent::SetCustomQuery($event); @@ -89,23 +94,27 @@ } /** - * Before new item created + * Set's new unique resource id to user * * @param kEvent $event + * @return void + * @access protected */ - function OnBeforeItemCreate(&$event) + protected function OnBeforeItemCreate(&$event) { parent::OnBeforeItemCreate($event); } /** - * Before existing item updated + * Checks state against country * * @param kEvent $event + * @return void + * @access protected */ - function OnBeforeItemUpdate(&$event) + protected function OnBeforeItemUpdate(&$event) { parent::OnBeforeItemUpdate($event); @@ -138,11 +147,13 @@ /** - * After new item created + * Redirects user after successful registration to confirmation template (on Front only) * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterItemCreate(&$event) + protected function OnAfterItemCreate(&$event) { parent::OnAfterItemCreate($event); @@ -174,11 +185,13 @@ } /** - * After item loaded + * Loads user images * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterItemLoad(&$event) + protected function OnAfterItemLoad(&$event) { parent::OnAfterItemLoad($event);