Пример #1
0
 public function register(\Fuse_App &$app)
 {
     $app->get('', 'get_index', array(), get_class($this));
     $app->get('/', 'get_index', array(), get_class($this));
     $app->get('/index', 'get_index', array(), get_class($this));
     $app->get('/index/', 'get_index', array(), get_class($this));
 }
Пример #2
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/filemanager', 'get_index', array(), get_class($this));
     $app->get('/filemanager/ide', 'get_ide', array(), get_class($this));
     $app->get('/filemanager/editor', 'get_editor', array(), get_class($this));
     $app->get('/filemanager/icons', 'get_icons', array(), get_class($this));
 }
Пример #3
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/forum', 'get_index', array(), get_class($this));
     $app->get('/forum/profile/:id', 'get_profile', array('id' => '[0-9]+'), get_class($this));
     $app->get('/forum/:id', 'get_forum', array('id' => '[0-9]+'), get_class($this));
     $app->get('/forum/topic/:id', 'get_topic', array('id' => '[0-9]+'), get_class($this));
 }
Пример #4
0
 /**
  * Methods maps admin areas urls to corresponding methods
  * Always use your module prefix to avoid conflicts with other modules
  * in future
  *
  *
  * @example $app->get('/example/test',      'get_test', null, get_class($this)); // calls get_test method on this class
  * @example $app->get('/example/:id',        'get_index', array('id'=>'[0-9]+'), get_class($this));
  * @param \Fuse_App $app
  */
 public function register(\Fuse_App &$app)
 {
     $app->get('/example', 'get_index', array(), get_class($this));
     $app->get('/example/test', 'get_test', array(), get_class($this));
     $app->get('/example/user/:id', 'get_user', array('id' => '[0-9]+'), get_class($this));
     $app->get('/example/api', 'get_api', array(), get_class($this));
 }
Пример #5
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/system', 'get_index', array(), get_class($this));
     $app->get('/system/', 'get_index', array(), get_class($this));
     $app->get('/system/index', 'get_index', array(), get_class($this));
     $app->get('/system/activity', 'get_activity', array(), get_class($this));
 }
Пример #6
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/support', 'get_tickets', array(), get_class($this));
     $app->get('/support/ticket/:id', 'get_ticket', array(), get_class($this));
     $app->get('/support/contact-us', 'get_contact_us', array(), get_class($this));
     $app->get('/support/contact-us/conversation/:hash', 'get_contact_us_conversation', array('hash' => '[a-z0-9]+'), get_class($this));
 }
Пример #7
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/order', 'get_products', array(), get_class($this));
     $app->get('/order/service', 'get_orders', array(), get_class($this));
     $app->get('/order/:id', 'get_configure_product', array('id' => '[0-9]+'), get_class($this));
     $app->get('/order/:slug', 'get_configure_product_by_slug', array('slug' => '[a-z0-9-]+'), get_class($this));
     $app->get('/order/service/manage/:id', 'get_order', array('id' => '[0-9]+'), get_class($this));
 }
Пример #8
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/news', 'get_index', array(), get_class($this));
     $app->get('/news/', 'get_index', array(), get_class($this));
     $app->get('/news/index', 'get_index', array(), get_class($this));
     $app->get('/news/index/', 'get_index', array(), get_class($this));
     $app->get('/news/post/:id', 'get_post', array('id' => '[0-9]+'), get_class($this));
 }
Пример #9
0
 public function register(\Fuse_App &$app)
 {
     $app->post('/api/:role/:class/:method', 'post_method', array('role', 'class', 'method'), get_class($this));
     $app->get('/api/:role/:class/:method', 'get_method', array('role', 'class', 'method'), get_class($this));
     //all other requests are error requests
     $app->get('/api/:page', 'show_error', array('page' => '(.?)+'), get_class($this));
     $app->post('/api/:page', 'show_error', array('page' => '(.?)+'), get_class($this));
 }
Пример #10
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/staff/login', 'get_login', array(), get_class($this));
     $app->get('/staff/manage/:id', 'get_manage', array('id' => '[0-9]+'), get_class($this));
     $app->get('/staff/group/:id', 'get_group', array('id' => '[0-9]+'), get_class($this));
     $app->get('/staff/profile', 'get_profile', array(), get_class($this));
     $app->get('/staff/logins', 'get_history', array(), get_class($this));
 }
Пример #11
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/order', 'get_index', array(), get_class($this));
     $app->get('/order/', 'get_index', array(), get_class($this));
     $app->get('/order/index', 'get_index', array(), get_class($this));
     $app->get('/order/manage/:id', 'get_order', array('id' => '[0-9]+'), get_class($this));
     $app->post('/order/new', 'get_new', array(), get_class($this));
 }
Пример #12
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/forum', 'get_index', array(), get_class($this));
     $app->get('/forum/members-list', 'get_members', array(), get_class($this));
     $app->get('/forum/topics.rss', 'get_rss', array(), get_class($this));
     $app->get('/forum/:forum', 'get_forum', array('forum' => '[a-z0-9-]+'), get_class($this));
     $app->get('/forum/:forum/:topic', 'get_forum_topic', array('forum' => '[a-z0-9-]+', 'topic' => '[a-z0-9-]+'), get_class($this));
 }
Пример #13
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/email/history/', 'get_history', array(), get_class($this));
     $app->get('/email/history', 'get_history', array(), get_class($this));
     $app->get('/email/templates', 'get_index', array(), get_class($this));
     $app->get('/email/template/:id', 'get_template', array('id' => '[0-9]+'), get_class($this));
     $app->get('/email/:id', 'get_email', array('id' => '[0-9]+'), get_class($this));
 }
Пример #14
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/client', 'get_index', array(), get_class($this));
     $app->get('/client/', 'get_index', array(), get_class($this));
     $app->get('/client/index', 'get_index', array(), get_class($this));
     $app->get('/client/login/:id', 'get_login', array('id' => '[0-9]+'), get_class($this));
     $app->get('/client/manage/:id', 'get_manage', array('id' => '[0-9]+'), get_class($this));
     $app->get('/client/group/:id', 'get_group', array('id' => '[0-9]+'), get_class($this));
     $app->get('/client/create', 'get_create', array(), get_class($this));
     $app->get('/client/logins', 'get_history', array(), get_class($this));
 }
Пример #15
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/product', 'get_index', array(), get_class($this));
     $app->get('/product/promos', 'get_promos', array(), get_class($this));
     $app->get('/product/promo/:id', 'get_promo', array('id' => '[0-9]+'), get_class($this));
     $app->get('/product/manage/:id', 'get_manage', array('id' => '[0-9]+'), get_class($this));
     $app->get('/product/addons', 'get_addons', array(), get_class($this));
     $app->get('/product/addon/:id', 'get_addon_manage', array('id' => '[0-9]+'), get_class($this));
     $app->get('/product/category/:id', 'get_cat_manage', array('id' => '[0-9]+'), get_class($this));
 }
Пример #16
0
 public function register(\Fuse_App &$app)
 {
     //@deprecated
     $app->get('/client/me', 'get_profile', array(), get_class($this));
     $app->get('/client/reset-password-confirm/:hash', 'get_reset_password_confirm', array('hash' => '[a-z0-9]+'), get_class($this));
     $app->get('/client', 'get_client_index', array(), get_class($this));
     $app->get('/client/logout', 'get_client_logout', array(), get_class($this));
     $app->get('/client/:page', 'get_client_page', array('page' => '[a-z0-9-]+'), get_class($this));
     $app->get('/client/confirm-email/:hash', 'get_client_confirmation', array('page' => '[a-z0-9-]+'), get_class($this));
 }
Пример #17
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/invoice', 'get_invoices', array(), get_class($this));
     $app->post('/invoice', 'get_invoices', array(), get_class($this));
     $app->get('/invoice/:hash', 'get_invoice', array('hash' => '[a-z0-9]+'), get_class($this));
     $app->post('/invoice/:hash', 'get_invoice', array('hash' => '[a-z0-9]+'), get_class($this));
     $app->get('/invoice/print/:hash', 'get_invoice_print', array('hash' => '[a-z0-9]+'), get_class($this));
     $app->post('/invoice/print/:hash', 'get_invoice_print', array('hash' => '[a-z0-9]+'), get_class($this));
     $app->get('/invoice/banklink/:hash/:id', 'get_banklink', array('id' => '[0-9]+', 'hash' => '[a-z0-9]+'), get_class($this));
     $app->get('/invoice/thank-you/:hash', 'get_thankyoupage', array('hash' => '[a-z0-9]+'), get_class($this));
     $app->get('/invoice/pdf/:hash', 'get_pdf', array('hash' => '[a-z0-9]+'), get_class($this));
 }
Пример #18
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/invoice', 'get_index', array(), get_class($this));
     $app->get('/invoice/subscriptions', 'get_subscriptions', array(), get_class($this));
     $app->get('/invoice/transactions', 'get_transactions', array(), get_class($this));
     $app->get('/invoice/gateways', 'get_gateways', array(), get_class($this));
     $app->get('/invoice/gateway/:id', 'get_gateway', array('id' => '[0-9]+'), get_class($this));
     $app->get('/invoice/manage/:id', 'get_invoice', array('id' => '[0-9]+'), get_class($this));
     $app->get('/invoice/transaction/:id', 'get_transaction', array('id' => '[0-9]+'), get_class($this));
     $app->get('/invoice/subscription/:id', 'get_subscription', array('id' => '[0-9]+'), get_class($this));
     $app->get('/invoice/tax', 'get_taxes', array(), get_class($this));
     $app->get('/invoice/tax/:id', 'get_tax', array(), get_class($this));
     $app->get('/invoice/pdf/:hash', 'get_pdf', array('hash' => '[a-z0-9]+'), get_class($this));
 }
Пример #19
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/currency/manage/:code', 'get_manage', array('code' => '[a-zA-Z]+'), get_class($this));
 }
Пример #20
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/kb', 'get_kb', array(), get_class($this));
     $app->get('/kb/:category', 'get_kb_category', array('category' => '[a-z0-9-]+'), get_class($this));
     $app->get('/kb/:category/:slug', 'get_kb_article', array('category' => '[a-z0-9-]+', 'slug' => '[a-z0-9-]+'), get_class($this));
 }
Пример #21
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/servicehosting', 'get_index', null, get_class($this));
     $app->get('/servicehosting/plan/:id', 'get_plan', array('id' => '[0-9]+'), get_class($this));
     $app->get('/servicehosting/server/:id', 'get_server', array('id' => '[0-9]+'), get_class($this));
 }
Пример #22
0
 /**
  * Methods maps client areas urls to corresponding methods
  * Always use your module prefix to avoid conflicts with other modules
  * in future
  *
  * @param \Fuse_App $app - returned by reference
  */
 public function register(\Fuse_App &$app)
 {
     $app->get('/example', 'get_index', array(), get_class($this));
     $app->get('/example/protected', 'get_protected', array(), get_class($this));
 }
Пример #23
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/extension', 'get_index', array(), get_class($this));
     $app->get('/extension/settings/:mod', 'get_settings', array('mod' => '[a-z0-9-]+'), get_class($this));
     $app->get('/extension/languages', 'get_langs', array(), get_class($this));
 }
Пример #24
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/theme/:theme', 'get_theme', array('theme' => '[a-z0-9-_]+'), get_class($this));
     $app->post('/theme/:theme', 'save_theme_settings', array('theme' => '[a-z0-9-_]+'), get_class($this));
 }
Пример #25
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/orderbutton', 'get_index', array(), get_class($this));
     $app->get('/orderbutton/js', 'get_js', array(), get_class($this));
 }
Пример #26
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/cookieconsent', 'get_index', array(), get_class($this));
 }
Пример #27
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/notification', 'get_index', array(), get_class($this));
 }
Пример #28
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/servicesolusvm', 'get_index', array(), get_class($this));
     $app->get('/servicesolusvm/import/clients', 'get_import_clients', array(), get_class($this));
     $app->get('/servicesolusvm/import/servers', 'get_import_servers', array(), get_class($this));
 }
Пример #29
0
 public function register(\Fuse_App &$app)
 {
     $app->get('/massmailer', 'get_index', array(), get_class($this));
     $app->get('/massmailer/message/:id', 'get_edit', array('id' => '[0-9]+'), get_class($this));
 }
Пример #30
0
 /**
  * Methods maps client areas urls to corresponding methods
  * Always use your module prefix to avoid conflicts with other modules
  * in future
  *
  * @param \Fuse_App $app - returned by reference
  */
 public function register(\Fuse_App &$app)
 {
     $app->get('/embed/:what', 'get_object', array('what' => '[a-z0-9-]+'), get_class($this));
 }