Difference between revisions of "Core/useAliases"

From PunchCMS
Jump to: navigation, search
(New page: __NOTOC__ ==== PCMS_Client->useAliases(value) ==== === Overview === Set wether URL Aliases should be used or not. Using aliases has a slight performance impact. === Arguments === '''value'...)
 
(No difference)

Latest revision as of 22:42, 25 December 2008

PCMS_Client->useAliases(value)

Overview

Set wether URL Aliases should be used or not. Using aliases has a slight performance impact.

Arguments

value [boolean]
TRUE will enable aliases, FALSE disables them. Default is FALSE.

Returns

Nothing.

Example

$objCms = PCMS_Client::getInstance();
 
// Enable aliases.
$objCms->useAliases(TRUE);