Index: branches/1.2.x/units/sections/users/e_user_eh.php =================================================================== diff -u -N -r14622 -r14847 --- branches/1.2.x/units/sections/users/e_user_eh.php (.../e_user_eh.php) (revision 14622) +++ branches/1.2.x/units/sections/users/e_user_eh.php (.../e_user_eh.php) (revision 14847) @@ -48,11 +48,13 @@ } /** - * Updates structure config + * Occurs, when config was parsed, allows to change config data dynamically * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterConfigRead(&$event) + protected function OnAfterConfigRead(kEvent &$event) { parent::OnAfterConfigRead($event); Index: branches/1.2.x/units/sections/articles/e_article_eh.php =================================================================== diff -u -N -r14622 -r14847 --- branches/1.2.x/units/sections/articles/e_article_eh.php (.../e_article_eh.php) (revision 14622) +++ branches/1.2.x/units/sections/articles/e_article_eh.php (.../e_article_eh.php) (revision 14847) @@ -48,11 +48,13 @@ } /** - * Updates structure config + * Occurs, when config was parsed, allows to change config data dynamically * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterConfigRead(&$event) + protected function OnAfterConfigRead(kEvent &$event) { parent::OnAfterConfigRead($event); Index: branches/1.2.x/units/sections/links/e_link_eh.php =================================================================== diff -u -N -r14622 -r14847 --- branches/1.2.x/units/sections/links/e_link_eh.php (.../e_link_eh.php) (revision 14622) +++ branches/1.2.x/units/sections/links/e_link_eh.php (.../e_link_eh.php) (revision 14847) @@ -48,11 +48,13 @@ } /** - * Updates structure config + * Occurs, when config was parsed, allows to change config data dynamically * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterConfigRead(&$event) + protected function OnAfterConfigRead(kEvent &$event) { parent::OnAfterConfigRead($event); Index: branches/1.2.x/units/sections/products/e_product_eh.php =================================================================== diff -u -N -r14622 -r14847 --- branches/1.2.x/units/sections/products/e_product_eh.php (.../e_product_eh.php) (revision 14622) +++ branches/1.2.x/units/sections/products/e_product_eh.php (.../e_product_eh.php) (revision 14847) @@ -48,11 +48,13 @@ } /** - * Updates structure config + * Occurs, when config was parsed, allows to change config data dynamically * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterConfigRead(&$event) + protected function OnAfterConfigRead(kEvent &$event) { parent::OnAfterConfigRead($event); Index: branches/1.2.x/units/sections/categories/e_category_eh.php =================================================================== diff -u -N -r14622 -r14847 --- branches/1.2.x/units/sections/categories/e_category_eh.php (.../e_category_eh.php) (revision 14622) +++ branches/1.2.x/units/sections/categories/e_category_eh.php (.../e_category_eh.php) (revision 14847) @@ -51,8 +51,10 @@ * Updates structure config * * @param kEvent $event + * @return void + * @access protected */ - function OnAfterConfigRead(&$event) + protected function OnAfterConfigRead(kEvent &$event) { parent::OnAfterConfigRead($event); Index: branches/1.2.x/units/sections/reviews/e_review_eh.php =================================================================== diff -u -N -r14622 -r14847 --- branches/1.2.x/units/sections/reviews/e_review_eh.php (.../e_review_eh.php) (revision 14622) +++ branches/1.2.x/units/sections/reviews/e_review_eh.php (.../e_review_eh.php) (revision 14847) @@ -1,135 +1,137 @@ Application->getUnitOption($event->Prefix, 'Fields'); // $this->Application->setUnitOption($event->Prefix, 'Fields', $fields); - - // 2. calculated fields -// $calculated_fields = $this->Application->getUnitOption($event->Prefix, 'CalculatedFields'); + + // 2. calculated fields +// $calculated_fields = $this->Application->getUnitOption($event->Prefix, 'CalculatedFields'); // $this->Application->setUnitOption($event->Prefix, 'CalculatedFields', $calculated_fields); - } + } - /** - * Prefills all fields on front-end - * - * @param kEvent $event - * @return void - * @access protected - */ - protected function OnBeforeItemCreate(&$event) - { - parent::OnBeforeItemCreate($event); + /** + * Prefills all fields on front-end + * + * @param kEvent $event + * @return void + * @access protected + */ + protected function OnBeforeItemCreate(&$event) + { + parent::OnBeforeItemCreate($event); - } + } - /** - * Sets correct rating value - * - * @param kEvent $event - * @return void - * @access protected - */ - protected function OnBeforeItemUpdate(&$event) - { - parent::OnBeforeItemUpdate($event); + /** + * Sets correct rating value + * + * @param kEvent $event + * @return void + * @access protected + */ + protected function OnBeforeItemUpdate(&$event) + { + parent::OnBeforeItemUpdate($event); - } + } - /** - * Before item deleted - * - * @param kEvent $event - */ - function OnBeforeItemDelete(&$event) - { - parent::OnBeforeItemDelete($event); + /** + * Before item deleted + * + * @param kEvent $event + */ + function OnBeforeItemDelete(&$event) + { + parent::OnBeforeItemDelete($event); - } + } - /** - * After item loaded - * - * @param kEvent $event - */ - function OnBeforeItemLoad(&$event) - { - parent::OnBeforeItemLoad($event); + /** + * After item loaded + * + * @param kEvent $event + */ + function OnBeforeItemLoad(&$event) + { + parent::OnBeforeItemLoad($event); - } + } - /** - * Updates item review counter - * - * @param kEvent $event - * @return void - * @access protected - */ - protected function OnAfterItemCreate(&$event) - { - parent::OnAfterItemCreate($event); + /** + * Updates item review counter + * + * @param kEvent $event + * @return void + * @access protected + */ + protected function OnAfterItemCreate(&$event) + { + parent::OnAfterItemCreate($event); - } + } - /** - * After existing item updated - * - * @param kEvent $event - */ - function OnAfterItemUpdate(&$event) - { - parent::OnAfterItemUpdate($event); + /** + * After existing item updated + * + * @param kEvent $event + */ + function OnAfterItemUpdate(&$event) + { + parent::OnAfterItemUpdate($event); - } + } - /** - * After item deleted - * - * @param kEvent $event - */ - function OnAfterItemDelete(&$event) - { - parent::OnAfterItemDelete($event); + /** + * After item deleted + * + * @param kEvent $event + */ + function OnAfterItemDelete(&$event) + { + parent::OnAfterItemDelete($event); - } + } - /** - * Occurs after loading item, 'id' parameter - * allows to get id of item that was loaded - * - * @param kEvent $event - * @return void - * @access protected - */ - protected function OnAfterItemLoad(&$event) - { - parent::OnAfterItemLoad($event); + /** + * Occurs after loading item, 'id' parameter + * allows to get id of item that was loaded + * + * @param kEvent $event + * @return void + * @access protected + */ + protected function OnAfterItemLoad(&$event) + { + parent::OnAfterItemLoad($event); - } - } + +}