PHP Class UrlRule

Show file Open project: zblogcn/zblogphp Class Usage Examples

Public Properties

Property Type Description
$MakeReplace boolean
$Rules array
$Url string
$categorylayer

Public Methods

Method Description
Make ( ) : string
Make_htaccess ( ) : string
Make_httpdini ( ) : string
Make_lighttpd ( ) : string
Make_nginx ( ) : string
Make_webconfig ( ) : string
OutputUrlRegEx ( $url, $type, $haspage = false ) : string
Rewrite_httpdini ( $url, $type ) : string
__construct ( $url )

Private Methods

Method Description
Make_Preg ( ) : string
Make_Replace ( ) : string

Method Details

Make() public method

public Make ( ) : string
return string

Make_htaccess() public method

public Make_htaccess ( ) : string
return string

Make_httpdini() public method

public Make_httpdini ( ) : string
return string

Make_lighttpd() public method

public Make_lighttpd ( ) : string
return string

Make_nginx() public method

public Make_nginx ( ) : string
return string

Make_webconfig() public method

public Make_webconfig ( ) : string
return string

OutputUrlRegEx() public static method

public static OutputUrlRegEx ( $url, $type, $haspage = false ) : string
$url
$type
$haspage boolean
return string

Rewrite_httpdini() public method

public Rewrite_httpdini ( $url, $type ) : string
$url
$type
return string

__construct() public method

public __construct ( $url )
$url

Property Details

$MakeReplace public property

public bool $MakeReplace
return boolean

$Rules public property

public array $Rules
return array

$Url public property

public string $Url
return string

$categorylayer public static property

public static $categorylayer