Class · Mecha CMS

Deep learning on using the API.

Route

Author: Taufik Nurrohman · 143 Views

Tweet

Do something if URL path matched with pattern.

Table of Content

Patterns 

PatternDescription
%s%Matched with any but /
%i%Matched with any numbers.
%f%Matched with any numbers and floats.
%*%Matched with any and /
%[foo,bar,baz\,qux]%Matched with foo, bar and baz,qux
%[foo,bar,%i%]%Matched with foo, bar and any numbers.

Methods