Skip to content

Instantly share code, notes, and snippets.

@nclundsten
Created April 10, 2013 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nclundsten/5358591 to your computer and use it in GitHub Desktop.
Save nclundsten/5358591 to your computer and use it in GitHub Desktop.
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"
}
}
}
'categories' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(11) "/categories"
'defaults' =>
array(1) {
'action' =>
string(10) "categories"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(1) {
'search' =>
array(2) {
'type' =>
string(7) "Segment"
'options' =>
array(2) {
'route' =>
string(20) "/search/:type/:terms"
'defaults' =>
array(1) {
'action' =>
string(22) "categorySearchChildren"
}
}
}
}
}
'search-class' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(13) "/search-class"
'defaults' =>
array(1) {
'action' =>
string(12) "search-class"
}
}
}
'update-form' =>
array(2) {
'type' =>
string(7) "Segment"
'options' =>
array(2) {
'route' =>
string(19) "/update-form/:class"
'defaults' =>
array(1) {
'action' =>
string(11) "update-form"
}
}
}
'update-record' =>
array(2) {
'type' =>
string(7) "Segment"
'options' =>
array(2) {
'route' =>
string(21) "/update-record/:class"
'defaults' =>
array(1) {
'action' =>
string(13) "update-record"
}
}
}
'update-product' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(15) "/update-product"
'defaults' =>
array(1) {
'action' =>
string(14) "update-product"
}
}
}
'category-tree-preview' =>
array(2) {
'type' =>
string(7) "Segment"
'options' =>
array(2) {
'route' =>
string(30) "/category-tree-preview/:siteid"
'defaults' =>
array(1) {
'action' =>
string(19) "categoryTreePreview"
}
}
}
}
}
'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) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(9) "add-phone"
}
}
}
'add-company' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(12) "/add-company"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(11) "add-company"
}
}
}
'add-email' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(10) "/add-email"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(9) "add-email"
}
}
}
'add-address' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(12) "/add-address"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(11) "add-address"
}
}
}
'add-url' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(8) "/add-url"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(7) "add-url"
}
}
}
}
}
'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) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(11) "add-company"
}
}
}
'view' =>
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(12) "view-company"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(1) {
'add-contact' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(12) "/add-contact"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckcontact"
'action' =>
string(11) "add-contact"
}
}
}
}
}
}
}
}
}
'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"
}
}
}
'catalog' =>
array(3) {
'type' =>
string(7) "Literal"
'priority' =>
int(1000)
'options' =>
array(2) {
'route' =>
string(8) "/catalog"
'defaults' =>
array(2) {
'controller' =>
string(20) "speckcatalog_catalog"
'action' =>
string(5) "index"
}
}
}
'checkout' =>
array(5) {
'type' =>
string(7) "Literal"
'priority' =>
int(1000)
'options' =>
array(2) {
'route' =>
string(9) "/checkout"
'defaults' =>
array(2) {
'controller' =>
string(8) "checkout"
'action' =>
string(5) "index"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(4) {
'user-information' =>
array(4) {
'type' =>
string(7) "Literal"
'may_terminate' =>
bool(true)
'options' =>
array(2) {
'route' =>
string(10) "/user-info"
'defaults' =>
array(2) {
'controller' =>
string(16) "user-information"
'action' =>
string(5) "index"
}
}
'child_routes' =>
array(1) {
'addresses' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(8) "/address"
'defaults' =>
array(1) {
'action' =>
string(14) "pick-addresses"
}
}
}
}
}
'order' =>
array(4) {
'type' =>
string(7) "Literal"
'may_terminate' =>
bool(false)
'options' =>
array(1) {
'route' =>
string(6) "/order"
}
'child_routes' =>
array(1) {
'review' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(7) "/review"
'defaults' =>
array(2) {
'controller' =>
string(12) "order-review"
'action' =>
string(5) "index"
}
}
}
}
}
'payment' =>
array(4) {
'type' =>
string(7) "Literal"
'may_terminate' =>
bool(false)
'options' =>
array(2) {
'route' =>
string(8) "/payment"
'defaults' =>
array(1) {
'controller' =>
string(7) "payment"
}
}
'child_routes' =>
array(2) {
'main' =>
array(3) {
'type' =>
string(7) "Literal"
'may_terminate' =>
bool(true)
'options' =>
array(2) {
'route' =>
string(8) "/payment"
'defaults' =>
array(2) {
'controller' =>
string(7) "payment"
'action' =>
string(7) "payment"
}
}
}
'choose' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(7) "/choose"
'defaults' =>
array(2) {
'controller' =>
string(7) "payment"
'action' =>
string(5) "index"
}
}
}
}
}
'default' =>
array(3) {
'type' =>
string(7) "Segment"
'priority' =>
int(-1000)
'options' =>
array(3) {
'route' =>
string(24) "/[:controller[/:action]]"
'constraints' =>
array(2) {
'controller' =>
string(22) "[a-zA-Z][a-zA-Z0-9_-]*"
'action' =>
string(22) "[a-zA-Z][a-zA-Z0-9_-]*"
}
'defaults' =>
array(0) {
}
}
}
}
}
'address' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(8) "/address"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckaddress"
'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(12) "speckaddress"
'action' =>
string(3) "add"
}
}
}
'edit' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(5) "/edit"
'defaults' =>
array(2) {
'controller' =>
string(12) "speckaddress"
'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(12) "speckaddress"
'action' =>
string(6) "delete"
}
}
'may_terminate' =>
bool(false)
'child_routes' =>
array(1) {
'query' =>
array(1) {
'type' =>
string(5) "Query"
}
}
}
}
}
'image-uploader' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(15) "/image-uploader"
'defaults' =>
array(1) {
'controller' =>
string(13) "imageuploader"
}
}
'may_terminate' =>
bool(false)
'child_routes' =>
array(1) {
'upload-image' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(13) "/upload-image"
'defaults' =>
array(1) {
'action' =>
string(11) "uploadImage"
}
}
}
}
}
'order' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(1) {
'route' =>
string(6) "/order"
}
'may_terminate' =>
bool(false)
'child_routes' =>
array(2) {
'process' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(8) "/process"
'defaults' =>
array(2) {
'controller' =>
string(5) "order"
'action' =>
string(7) "process"
}
}
}
}
'government' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(11) "/government"
'defaults' =>
array(2) {
'controller' =>
string(7) "content"
'action' =>
string(10) "government"
}
}
}
'rma' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(4) "/rma"
'defaults' =>
array(2) {
'controller' =>
string(7) "content"
'action' =>
string(3) "rma"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(1) {
'submit' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(7) "/submit"
'defaults' =>
array(1) {
'action' =>
string(9) "submitRma"
}
}
}
}
}
'company' =>
array(4) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(8) "/company"
'defaults' =>
array(1) {
'controller' =>
string(7) "content"
}
}
'may_terminate' =>
bool(false)
'child_routes' =>
array(2) {
'contact-us' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(11) "/contact-us"
'defaults' =>
array(1) {
'action' =>
string(9) "contactUs"
}
}
}
'return-policy-us' =>
array(2) {
'type' =>
string(7) "Literal"
'options' =>
array(2) {
'route' =>
string(14) "/return-policy"
'defaults' =>
array(1) {
'action' =>
string(12) "returnPolicy"
}
}
}
}
}
'parts' =>
array(4) {
'type' =>
string(7) "literal"
'options' =>
array(2) {
'route' =>
string(18) "/replacement-parts"
'defaults' =>
array(2) {
'controller' =>
string(9) "swm_parts"
'action' =>
string(5) "index"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(2) {
'view-image' =>
array(3) {
'priority' =>
int(100)
'type' =>
string(7) "segment"
'options' =>
array(2) {
'route' =>
string(25) "/view-image/:brand/:image"
'defaults' =>
array(1) {
'action' =>
string(9) "viewImage"
}
}
}
'brand' =>
array(4) {
'type' =>
string(7) "segment"
'options' =>
array(2) {
'route' =>
string(7) "/:brand"
'defaults' =>
array(1) {
'action' =>
string(10) "brandLevel"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(1) {
'chair' =>
array(4) {
'type' =>
string(7) "segment"
'options' =>
array(2) {
'route' =>
string(7) "/:chair"
'defaults' =>
array(1) {
'action' =>
string(10) "chairLevel"
}
}
'may_terminate' =>
bool(true)
'child_routes' =>
array(1) {
'categories' =>
array(2) {
'type' =>
string(5) "regex"
'options' =>
array(2) {
'regex' =>
string(18) "/(?<categories>.+)"
'spec' =>
string(13) "/%categories%"
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment