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 ()
 _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 122 of file oxseoencodercontent.php.

oxSeoEncoderContent._getUrlExtension (  )  [protected]

Returns target "extension" (/)

Returns:
string

Reimplemented from oxSeoEncoder.

Definition at line 31 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 46 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 91 of file oxseoencodercontent.php.

static oxSeoEncoderContent.getInstance (  )  [static]

Singleton method

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

Reimplemented from oxSeoEncoder.

Definition at line 21 of file oxseoencodercontent.php.

oxSeoEncoderContent.onDeleteContent ( sId  ) 

deletes content seo entries

Parameters:
string $sId content ids
Returns:
null

Definition at line 106 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: