Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
Redirect Class Reference
Inheritance diagram for Redirect:
SpecialPage tariqa3Module baseModule_RELEX_TARIQANG BaseModuleWithAuthenticationAndLanguages BaseModuleWithAuthentication BaseModule mModule

Public Member Functions

 __construct ($page_id, $config)
 onInitialize ()

Protected Member Functions

 fixURLS ($doc, $query, $baseURL)
 absolute ($url)
 renderPage ()

Constructor & Destructor Documentation

__construct ( page_id,
config 
)

Constructs the object

Parameters:
string$page_idThe page identifier
array$configThe configuration array public
Returns:
void

Reimplemented from baseModule_RELEX_TARIQANG.


Member Function Documentation

absolute ( url) [protected]

If true, then the url is an absolute link, otherwise, is a relative link

Parameters:
string$urlThe url protected
Returns:
boolean
fixURLS ( doc,
query,
baseURL 
) [protected]

Fixes the URLs which are resulting from applying an XPATH query

Parameters:
DOMDocument$docThe HTML document
string$queryThe xpath query
string$baseURLThe base url of the site protected
Returns:
void

Initializes the module public

Returns:
void

Reimplemented from SpecialPage.

renderPage ( ) [protected]

Renders the page (sets all the template data) protected

Returns:
void

The documentation for this class was generated from the following file: