Exemplo n.º 1
0
 public function init()
 {
     $handler = new GOOGLELOCATION_CLASS_EventHandler();
     $handler->genericInit();
     OW::getEventManager()->bind('base.questions_field_get_value', array($this, 'questionsFieldGetValue'));
 }
Exemplo n.º 2
0
<?php

/**
 * Copyright (c) 2013, Podyachev Evgeny <*****@*****.**>
 * All rights reserved.
 * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
 * and is licensed under Oxwall Store Commercial License.
 * Full text of this license can be found at http://www.oxwall.org/store/oscl
 */
OW::getRouter()->addRoute(new OW_Route('googlelocation_user_map', 'users/map', 'GOOGLELOCATION_MCTRL_UserMap', 'map'));
OW::getRouter()->addRoute(new OW_Route('googlelocation_user_list', 'users/map/:lat/:lng/user-list/:hash', 'GOOGLELOCATION_MCTRL_UserList', 'index'));
$handler = new GOOGLELOCATION_CLASS_EventHandler();
$handler->genericInit();
$handler->mobileInit();
$mhandler = new GOOGLELOCATION_MCLASS_MobileEventHandler();
$mhandler->init();
Exemplo n.º 3
0
<?php

/**
 * Copyright (c) 2013, Podyachev Evgeny <*****@*****.**>
 * All rights reserved.
 * ATTENTION: This commercial software is intended for use with Oxwall Free Community Software http://www.oxwall.org/
 * and is licensed under Oxwall Store Commercial License.
 * Full text of this license can be found at http://www.oxwall.org/store/oscl
 */
/**
 * @author Podyachev Evgeny <*****@*****.**>
 * @package ow_plugins.google_maps_location
 * @since 1.0
 */
OW::getRouter()->addRoute(new OW_Route('googlelocation_admin', 'admin/plugins/googlelocation', 'GOOGLELOCATION_CTRL_Admin', 'index'));
OW::getRouter()->addRoute(new OW_Route('googlelocation_user_map', 'users/map', 'GOOGLELOCATION_CTRL_UserMap', 'map'));
OW::getRouter()->addRoute(new OW_Route('googlelocation_event_map', 'event/map', 'GOOGLELOCATION_CTRL_EventMap', 'map'));
OW::getRouter()->addRoute(new OW_Route('googlelocation_user_list', 'users/map/:lat/:lng/user-list/:hash', 'GOOGLELOCATION_CTRL_UserList', 'index'));
OW::getRouter()->addRoute(new OW_Route('googlelocation_event_list', 'event/map/:lat/:lng/event-list/:hash', 'GOOGLELOCATION_CTRL_EventList', 'index'));
OW::getRouter()->addRoute(new OW_Route('googlelocation_users_map', 'users_map', 'GOOGLELOCATION_CTRL_UserMap', 'map'));
$handler = new GOOGLELOCATION_CLASS_EventHandler();
$handler->genericInit();
$handler->init();