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

 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 136 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
Returns:
string

Definition at line 60 of file oxseoencodercontent.php.

oxSeoEncoderContent._getUrlExtension (  )  [protected]

Returns target "extension" (/)

Returns:
string

Reimplemented from oxSeoEncoder.

Definition at line 45 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 105 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 120 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: