Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes

oxSeoEncoderTag Class Reference

Inheritance diagram for oxSeoEncoderTag:
Collaboration diagram for oxSeoEncoderTag:

List of all members.

Public Member Functions

 getTagUri ($sTag, $iLang=null, $sOxid=null)
 getStdTagUri ($sTag, $blIncludeIndex=true)
 getTagUrl ($sTag, $iLang=null)
 getTagPageUrl ($sTag, $iPage, $iLang=null, $blFixed=false)

Static Public Member Functions

static getInstance ()

Protected Member Functions

 _getDynamicTagUri ($sTag, $sStdUrl, $sSeoUrl, $iLang, $sOxid=null)
 _prepareTag ($sTag)

Protected Attributes

 $_oTagPrepareUtil = null

Static Protected Attributes

static $_instance = null

Detailed Description

Seo encoder base

Definition at line 7 of file oxseoencodertag.php.


Member Function Documentation

oxSeoEncoderTag._getDynamicTagUri ( sTag,
sStdUrl,
sSeoUrl,
iLang,
sOxid = null 
) [protected]

Returns dynamic object SEO URI

Parameters:
string $sTag tag
string $sStdUrl standart url
string $sSeoUrl seo uri
int $iLang active language
string $sOxid object id [optional]
Returns:
string

Definition at line 58 of file oxseoencodertag.php.

oxSeoEncoderTag._prepareTag ( sTag  )  [protected]

Prepares tag for search in db

Parameters:
string $sTag tag to prepare
Returns:
string

Definition at line 92 of file oxseoencodertag.php.

static oxSeoEncoderTag.getInstance (  )  [static]

Singleton method

Deprecated:
since v5.0 (2012-08-10); Use oxRegistry.get("oxSeoEncoderTag") instead.
Returns:
oxSeoEncoderTag

Reimplemented from oxSeoEncoder.

Definition at line 28 of file oxseoencodertag.php.

oxSeoEncoderTag.getStdTagUri ( sTag,
blIncludeIndex = true 
)

Returns standard tag url

Parameters:
string $sTag tag
bool $blIncludeIndex if you need only parameters set this param to false (optional)
Returns:
string

Definition at line 109 of file oxseoencodertag.php.

oxSeoEncoderTag.getTagPageUrl ( sTag,
iPage,
iLang = null,
blFixed = false 
)

Returns tag SEO url for specified page

Parameters:
string $sTag manufacturer object
int $iPage page tu prepare number
int $iLang language
bool $blFixed fixed url marker (default is false)
Returns:
string

Definition at line 145 of file oxseoencodertag.php.

oxSeoEncoderTag.getTagUri ( sTag,
iLang = null,
sOxid = null 
)

Returns SEO uri for tag.

Parameters:
string $sTag tag
int $iLang language
string $sOxid object id [optional]
Returns:
string

Definition at line 42 of file oxseoencodertag.php.

oxSeoEncoderTag.getTagUrl ( sTag,
iLang = null 
)

Returns full url for passed tag

Parameters:
string $sTag tag
int $iLang language
Returns:
string

Definition at line 127 of file oxseoencodertag.php.


Member Data Documentation

oxSeoEncoderTag.$_instance = null [static, protected]

Singleton instance.

Reimplemented from oxSeoEncoder.

Definition at line 12 of file oxseoencodertag.php.

oxSeoEncoderTag.$_oTagPrepareUtil = null [protected]

Definition at line 19 of file oxseoencodertag.php.


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