downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Yaf_Route_Supervar> <Yaf_Route_Static::match
[edit] Last updated: Fri, 24 May 2013

view this page in

Yaf_Route_Static::route

(Yaf >=1.0.0)

Yaf_Route_Static::routeRoute a request

Descrição

public bool Yaf_Route_Static::route ( Yaf_Request_Abstract $request )

Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Parâmetros

request

Valor Retornado

always be TRUE

Exemplos

Exemplo #1 Yaf_Route_Static::route()example

// assuming there is only one module defined:Index
Request: http://yourdomain.com/a/b
=> module = index, controller=a, action=b

//assuming ap.action_prefer = On
Request: http://yourdomain.com/b
=> module = default(index), controller = default(index), action = b

//assuming ap.action_prefer = Off
Request: http://yourdomain.com/b
=> module = default(index), controller = b, action = default(index)


Request: http://yourdomain.com/a/b/foo/bar/test/a/id/4
=> module = default(index), controller = a, action = b, request parameters: foo = bar, test = a, id = 4

Veja Também



add a note add a note User Contributed Notes Yaf_Route_Static::route - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites