oxSeoEncoderArticle Class Reference

Inheritance diagram for oxSeoEncoderArticle:
[legend]
Collaboration diagram for oxSeoEncoderArticle:
[legend]

List of all members.


Detailed Description

Seo encoder for articles

Definition at line 8 of file oxseoencoderarticle.php.


Public Member Functions

 getArticleUrl ($oArticle, $iLang=null, $iType=0)
 getSeoCategories ($oArticle, $iLang=null)

Static Public Member Functions

static getInstance ()

Protected Member Functions

 _getArticleUri ($oArticle, $iLang=null)
 _prepareArticleTitle ($oArticle)
 _getArticleVendorUri ($oArticle, $iLang=null)

Static Protected Attributes

static $_instance = null

Member Function Documentation

static oxSeoEncoderArticle.getInstance (  )  [static]

Singleton method

Returns:
oxseoencoder

Reimplemented from oxSeoEncoder.

Definition at line 20 of file oxseoencoderarticle.php.

oxSeoEncoderArticle._getArticleUri ( oArticle,
iLang = null 
) [protected]

Returns SEO uri for passed article

Parameters:
oxarticle $oArticle article object
int $iLang language
Returns:
string

Definition at line 36 of file oxseoencoderarticle.php.

oxSeoEncoderArticle._prepareArticleTitle ( oArticle  )  [protected]

Returns seo title for current article (if oxtitle field is empty, oxartnum is used). Additionally - if oxvarselect is set - title is appended with its value

Parameters:
oxarticle $oArticle article object
Returns:
string

Definition at line 104 of file oxseoencoderarticle.php.

oxSeoEncoderArticle._getArticleVendorUri ( oArticle,
iLang = null 
) [protected]

Returns vendor seo uri for current article

Parameters:
oxarticle $oArticle article object
int $iLang language id (optional)
Returns:
string

Definition at line 126 of file oxseoencoderarticle.php.

oxSeoEncoderArticle.getArticleUrl ( oArticle,
iLang = null,
iType = 0 
)

Encodes article URLs into SEO format

Parameters:
oxArticle $oArticle Article object
int $iLang language
int $iType type
Returns:
string

Definition at line 177 of file oxseoencoderarticle.php.

oxSeoEncoderArticle.getSeoCategories ( oArticle,
iLang = null 
)

Returns array of suitable categories for given article

Parameters:
oxArticle $oArticle article to search
int $iLang language
Returns:
oxList

Definition at line 203 of file oxseoencoderarticle.php.


Member Data Documentation

oxSeoEncoderArticle.$_instance = null [static, protected]

Singleton instance.

Reimplemented from oxSeoEncoder.

Definition at line 13 of file oxseoencoderarticle.php.


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

Generated on Thu Dec 4 12:05:32 2008 for OXID eShop CE by  doxygen 1.5.5