Created
April 10, 2013 21:24
-
-
Save nclundsten/5358575 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
array(1) { | |
'routes' => | |
array(19) { | |
'home' => | |
array(2) { | |
'type' => | |
string(28) "Zend\Mvc\Router\Http\Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(1) "/" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(5) "index" | |
'action' => | |
string(5) "index" | |
} | |
} | |
} | |
'zfcuser' => | |
array(5) { | |
'type' => | |
string(7) "Literal" | |
'priority' => | |
int(1000) | |
'options' => | |
array(2) { | |
'route' => | |
string(8) "/account" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(7) { | |
'login' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(6) "/login" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(5) "login" | |
} | |
} | |
} | |
'authenticate' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(13) "/authenticate" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(12) "authenticate" | |
} | |
} | |
} | |
'logout' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(7) "/logout" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(6) "logout" | |
} | |
} | |
} | |
'register' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(9) "/register" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(8) "register" | |
} | |
} | |
} | |
'changepassword' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(16) "/change-password" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(14) "changepassword" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(1) { | |
'query' => | |
array(1) { | |
'type' => | |
string(5) "Query" | |
} | |
} | |
} | |
'changeemail' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(13) "/change-email" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(7) "zfcuser" | |
'action' => | |
string(11) "changeemail" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(1) { | |
'query' => | |
array(1) { | |
'type' => | |
string(5) "Query" | |
} | |
} | |
} | |
'address' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(8) "/address" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "speckuseraddress" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(3) { | |
'add' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(4) "/add" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "speckuseraddress" | |
'action' => | |
string(3) "add" | |
} | |
} | |
} | |
'edit' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(5) "/edit" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "speckuseraddress" | |
'action' => | |
string(4) "edit" | |
} | |
} | |
'may_terminate' => | |
bool(false) | |
'child_routes' => | |
array(1) { | |
'query' => | |
array(1) { | |
'type' => | |
string(5) "Query" | |
} | |
} | |
} | |
'delete' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(7) "/delete" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "speckuseraddress" | |
'action' => | |
string(6) "delete" | |
} | |
} | |
'may_terminate' => | |
bool(false) | |
'child_routes' => | |
array(1) { | |
'query' => | |
array(1) { | |
'type' => | |
string(5) "Query" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
'zfcadmin' => | |
array(4) { | |
'child_routes' => | |
array(8) { | |
'sites' => | |
array(4) { | |
'type' => | |
string(7) "literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(6) "/sites" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(15) "multisite_admin" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(1) { | |
'add' => | |
array(2) { | |
'type' => | |
string(7) "literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(4) "/add" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(8) "add-site" | |
} | |
} | |
} | |
} | |
} | |
'catalogmanager' => | |
array(5) { | |
'type' => | |
string(7) "Segment" | |
'priority' => | |
int(1000) | |
'options' => | |
array(2) { | |
'route' => | |
string(15) "/catalogmanager" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(20) "speckcatalog_manager" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(false) | |
'child_routes' => | |
array(16) { | |
'new-product' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(12) "/new-product" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(10) "newProduct" | |
} | |
} | |
} | |
'sort' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(19) "/sort/:parent/:type" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(4) "sort" | |
} | |
} | |
} | |
'remove-child' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(13) "/remove-child" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(11) "removeChild" | |
} | |
} | |
} | |
'new-partial' => | |
array(2) { | |
'type' => | |
string(7) "literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(12) "/new-partial" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(10) "newPartial" | |
} | |
} | |
} | |
'find' => | |
array(2) { | |
'type' => | |
string(7) "literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(5) "/find" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(4) "find" | |
} | |
} | |
} | |
'found' => | |
array(2) { | |
'type' => | |
string(7) "literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(6) "/found" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(5) "found" | |
} | |
} | |
} | |
'products' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(9) "/products" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(8) "products" | |
} | |
} | |
} | |
'company' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(12) "/company/:id" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(7) "company" | |
} | |
} | |
} | |
'companies' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(18) "/companies[/:page]" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(9) "companies" | |
} | |
} | |
} | |
'product' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(12) "/product/:id" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(7) "product" | |
} | |
} | |
} | |
(more elements)... | |
} | |
} | |
'contact' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(8) "/contact" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(12) "speckcontact" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(3) { | |
'contact' => | |
array(4) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(3) { | |
'route' => | |
string(4) "/:id" | |
'constraints' => | |
array(1) { | |
'id' => | |
string(6) "[0-9]+" | |
} | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(12) "speckcontact" | |
'action' => | |
string(4) "view" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(5) { | |
'add-phone' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(10) "/add-phone" | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
} | |
'add-company' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(12) "/add-company" | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
} | |
'add-email' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(10) "/add-email" | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
} | |
'add-address' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(12) "/add-address" | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
} | |
'add-url' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(8) "/add-url" | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
} | |
} | |
} | |
'add-contact' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(4) "/add" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(12) "speckcontact" | |
'action' => | |
string(11) "add-contact" | |
} | |
} | |
} | |
'company' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'may_terminate' => | |
bool(true) | |
'options' => | |
array(2) { | |
'route' => | |
string(8) "/company" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(12) "speckcontact" | |
'action' => | |
string(14) "list-companies" | |
} | |
} | |
'child_routes' => | |
array(2) { | |
'add-company' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(4) "/add" | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
} | |
'view' => | |
array(4) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(3) { | |
'route' => | |
string(4) "/:id" | |
'constraints' => | |
array(1) { | |
... | |
} | |
'defaults' => | |
array(2) { | |
... | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(1) { | |
'add-contact' => | |
array(2) { | |
... | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
'manage-orders' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(14) "/manage-orders" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "order_management" | |
'action' => | |
string(5) "index" | |
} | |
} | |
} | |
'manage-customers' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(17) "/manage-customers" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "order_management" | |
'action' => | |
string(9) "customers" | |
} | |
} | |
} | |
'order' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(15) "/order/:orderId" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "order_management" | |
'action' => | |
string(5) "order" | |
} | |
} | |
} | |
'manage-order' => | |
array(4) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(13) "/manage-order" | |
'defaults' => | |
array(1) { | |
'controller' => | |
string(16) "order_management" | |
} | |
} | |
'may_terminate' => | |
bool(false) | |
'child_routes' => | |
array(5) { | |
'edit-address' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(22) "/edit-address/:orderId" | |
'defaults' => | |
array(1) { | |
'action' => | |
string(11) "editAddress" | |
} | |
} | |
} | |
'packing-list' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(27) "/packing-list/:id[/:format]" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(9) "swm_order" | |
'action' => | |
string(11) "packingList" | |
} | |
} | |
} | |
'purchase-order' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(29) "/purchase-order/:id[/:format]" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(9) "swm_order" | |
'action' => | |
string(13) "purchaseOrder" | |
} | |
} | |
} | |
'email-from-template' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(38) "/email-from-template/:template_type_id" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(9) "swm_order" | |
'action' => | |
string(17) "emailFromTemplate" | |
} | |
} | |
} | |
'email-from-webpage' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(19) "/email-from-webpage" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(9) "swm_order" | |
'action' => | |
string(16) "emailFromWebpage" | |
} | |
} | |
} | |
} | |
} | |
'manage-customer' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(39) "/manage-customer/:orderId[/:actionName]" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(16) "order_management" | |
'action' => | |
string(8) "customer" | |
} | |
} | |
} | |
} | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(6) "/admin" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(35) "ZfcAdmin\Controller\AdminController" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
} | |
'cart' => | |
array(5) { | |
'type' => | |
string(7) "Literal" | |
'priority' => | |
int(1000) | |
'options' => | |
array(2) { | |
'route' => | |
string(5) "/cart" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(17) "speckcatalog_cart" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'may_terminate' => | |
bool(true) | |
'child_routes' => | |
array(4) { | |
'add-item' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(15) "/add-item[/:id]" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(17) "speckcatalog_cart" | |
'action' => | |
string(7) "addItem" | |
} | |
} | |
} | |
'update-quantities' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(18) "/update-quantities" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(17) "speckcatalog_cart" | |
'action' => | |
string(16) "updateQuantities" | |
} | |
} | |
} | |
'remove-item' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(16) "/remove-item/:id" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(17) "speckcatalog_cart" | |
'action' => | |
string(11) "remove-item" | |
} | |
} | |
} | |
'update-product' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(15) "/update-product" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(17) "speckcatalog_cart" | |
'action' => | |
string(14) "update-product" | |
} | |
} | |
} | |
} | |
} | |
'index' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(1) "/" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(20) "speckcatalog_catalog" | |
'action' => | |
string(5) "index" | |
} | |
} | |
} | |
'productshortcut' => | |
array(3) { | |
'type' => | |
string(7) "Segment" | |
'priority' => | |
int(-1000) | |
'options' => | |
array(3) { | |
'route' => | |
string(4) "/:id" | |
'constraints' => | |
array(1) { | |
'id' => | |
string(3) "\d+" | |
} | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(20) "speckcatalog_catalog" | |
'action' => | |
string(15) "productRedirect" | |
} | |
} | |
} | |
'category' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(13) "/category/:id" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(21) "speckcatalog_category" | |
'action' => | |
string(5) "index" | |
} | |
} | |
} | |
'product' => | |
array(3) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(8) "/product" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(20) "speckcatalog_product" | |
'action' => | |
string(5) "index" | |
} | |
} | |
'child_routes' => | |
array(2) { | |
'byid' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(3) { | |
'route' => | |
string(18) "/:id[/:cartItemId]" | |
'constraints' => | |
array(2) { | |
'id' => | |
string(6) "[0-9]+" | |
'cartItemId' => | |
string(6) "[0-9]+" | |
} | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(12) "seo_redirect" | |
'action' => | |
string(11) "productById" | |
} | |
} | |
} | |
'seo' => | |
array(2) { | |
'type' => | |
string(7) "Segment" | |
'options' => | |
array(2) { | |
'route' => | |
string(11) "/:slug:-:id" | |
'constraints' => | |
array(2) { | |
'slug' => | |
string(11) "[A-Za-z0-9]" | |
'id' => | |
string(3) "\d+" | |
} | |
} | |
} | |
} | |
} | |
'partial/uoms' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(13) "/partial/uoms" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(20) "speckcatalog_product" | |
'action' => | |
string(11) "uomsPartial" | |
} | |
} | |
} | |
'partial/options' => | |
array(2) { | |
'type' => | |
string(7) "Literal" | |
'options' => | |
array(2) { | |
'route' => | |
string(16) "/partial/options" | |
'defaults' => | |
array(2) { | |
'controller' => | |
string(20) "speckcatalog_product" | |
'action' => | |
string(14) "optionsPartial" | |
} | |
} | |
} | |
(more elements)... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment