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

oxSeoEncoderContent Class Reference

Inheritance diagram for oxSeoEncoderContent:
Collaboration diagram for oxSeoEncoderContent:

List of all members.

Public Member Functions

 getContentUri ($oCont, $iLang=null, $blRegenerate=false)
 getContentUrl ($oCont, $iLang=null)
 onDeleteContent ($sId)

Static Public Member Functions

static getInstance ()

Protected Member Functions

 _getUrlExtension ()
 _getContentUri ($oCont, $iLang=null, $blRegenerate=false)
 _getAltUri ($sObjectId, $iLang)

Static Protected Attributes

static $_instance = null

Detailed Description

Seo encoder base

Definition at line 7 of file oxseoencodercontent.php.


Member Function Documentation

oxSeoEncoderContent._getAltUri ( sObjectId,
iLang 
) [protected]

Returns alternative uri used while updating seo

Parameters:
string $sObjectId object id
int $iLang language id
Returns:
string

Reimplemented from oxSeoEncoder.

Definition at line 154 of file oxseoencodercontent.php.

oxSeoEncoderContent._getContentUri ( oCont,
iLang = null,
blRegenerate = false 
) [protected]

Returns SEO uri for content object. Includes parent category path info if content is assigned to it

Parameters:
oxcontent $oCont content category object
int $iLang language
bool $blRegenerate if TRUE forces seo url regeneration
Deprecated:
since 20110810 use oxSeoEncoderContent.getContentUri()
Returns:
string

Definition at line 63 of file oxseoencodercontent.php.

oxSeoEncoderContent._getUrlExtension (  )  [protected]

Returns target "extension" (/)

Returns:
string

Reimplemented from oxSeoEncoder.

Definition at line 45 of file oxseoencodercontent.php.

oxSeoEncoderContent.getContentUri ( oCont,
iLang = null,
blRegenerate = false 
)

Returns SEO uri for content object. Includes parent category path info if content is assigned to it

Parameters:
oxcontent $oCont content category object
int $iLang language
bool $blRegenerate if TRUE forces seo url regeneration
Returns:
string

Definition at line 78 of file oxseoencodercontent.php.

oxSeoEncoderContent.getContentUrl ( oCont,
iLang = null 
)

encodeContentUrl encodes content link

Parameters:
oxContent $oCont category object
int $iLang language

public

Returns:
void

Definition at line 123 of file oxseoencodercontent.php.

static oxSeoEncoderContent.getInstance (  )  [static]

Singleton method

Returns:
oxSeoEncoderContent

Reimplemented from oxSeoEncoder.

Definition at line 19 of file oxseoencodercontent.php.

oxSeoEncoderContent.onDeleteContent ( sId  ) 

deletes content seo entries

Parameters:
string $sId content ids
Returns:
null

Definition at line 138 of file oxseoencodercontent.php.


Member Data Documentation

oxSeoEncoderContent.$_instance = null [static, protected]

Singleton instance.

Reimplemented from oxSeoEncoder.

Definition at line 12 of file oxseoencodercontent.php.


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