Geeklog
[ class tree: Geeklog ] [ index: Geeklog ] [ all elements ]

Procedural File: router.php

Source Location: /public_html/admin/router.php



Page Details:



Includes:

require_once('../lib-common.php') [line 37]
URL routing administration page: Create, edit, delete routing rules for your Geeklog site.

require_once('./auth.inc.php') [line 40]






ADMIN_getListFieldRoutes [line 147]

string ADMIN_getListFieldRoutes( string $fieldName, string $fieldValue, array $A, array $iconArray, [string $extra = ''])

Field function



Tags:

throws:  InvalidArgumentException


Parameters

string   $fieldName  
string   $fieldValue  
array   $A  
array   $iconArray  
string   $extra  
[ Top ]



deleteRoute [line 504]

string deleteRoute( int $rid)

Delete a route



Tags:

return:  HTML redirect or error message


Parameters

int   $rid   id of block to delete
[ Top ]



getRouteEditor [line 60]

string getRouteEditor( [int $rid = 0])

Shows the URL routing editor This will show a URL routing edit form.



Tags:

return:  HTML for URL routing editor


Parameters

int   $rid   ID of URL routing rule to edit
[ Top ]



listRoutes [line 216]

string listRoutes( )

Display a list of routes



Tags:

return:  HTML for the list


[ Top ]



moveRoute [line 473]

void moveRoute( int $rid)

Move a route UP or Down



Parameters

int   $rid  
[ Top ]



reorderRoutes [line 445]

void reorderRoutes( )

Re-orders all routes in increments of 10



[ Top ]



saveRoute [line 317]

string saveRoute( int $rid, int $method, string $rule, string $route, int $priority)

Save a route into database



Parameters

int   $rid  
int   $method  
string   $rule  
string   $route  
int   $priority  
[ Top ]



Documentation generated on Sun, 02 Oct 2016 07:54:07 +0000 by phpDocumentor 1.4.3