Article_Seo Class Reference

Inheritance diagram for Article_Seo:

Inheritance graph
[legend]
Collaboration diagram for Article_Seo:

Collaboration graph
[legend]

List of all members.


Detailed Description

Article seo config class

Definition at line 6 of file article_seo.php.


Public Member Functions

 render ()
 getSelectedCategoryId ()
 getActCategory ()
 getTag ()
 getEditLang ()
 processParam ($sParam)

Protected Member Functions

 _getSeoDataSql ($oObject, $iShopId, $iLang)
 _getCategoryList ($oArticle)
 _getVendorList ($oArticle)
 _getManufacturerList ($oArticle)
 _getTagList ($oArticle)
 _getSeoUrl ($oArticle)
 _getSeoUrlQuery ($oObject, $iShopId)
 getSeoEntryId ()
 _getSeoEntryType ()
 _getType ()
 _getStdUrl ($sOxid)

Protected Attributes

 $_sActCatId = null
 $_sActCatType = null
 $_iActCatLang = null
 $_oArtCategories = null
 $_oArtVendors = null
 $_oArtManufacturers = null
 $_oArticle = null

Member Function Documentation

Article_Seo.render (  ) 

Loads article parameters and passes them to Smarty engine, returns name of template file "article_main.tpl".

Returns:
string

Reimplemented from Object_Seo.

Definition at line 63 of file article_seo.php.

Article_Seo._getSeoDataSql ( oObject,
iShopId,
iLang 
) [protected]

Returns SQL to fetch seo data

Returns:
string

Reimplemented from Object_Seo.

Definition at line 85 of file article_seo.php.

Article_Seo._getCategoryList ( oArticle  )  [protected]

Returns list with deepest article categories

Returns:
oxlist

Definition at line 105 of file article_seo.php.

Article_Seo._getVendorList ( oArticle  )  [protected]

Returns list with deepest article categories

Returns:
oxlist

Definition at line 136 of file article_seo.php.

Article_Seo._getManufacturerList ( oArticle  )  [protected]

Returns list with deepest article categories

Returns:
oxlist

Definition at line 157 of file article_seo.php.

Article_Seo._getTagList ( oArticle  )  [protected]

Returns tag list

Returns:
oxlist

Definition at line 178 of file article_seo.php.

Article_Seo.getSelectedCategoryId (  ) 

Returns currently chosen or first from article category deepest list category parent id

Returns:
string

Definition at line 198 of file article_seo.php.

Article_Seo._getSeoUrl ( oArticle  )  [protected]

Returns objects seo url

Parameters:
oxarticle $oArticle active article object
Returns:
string

Reimplemented from Object_Seo.

Definition at line 240 of file article_seo.php.

Article_Seo.getActCategory (  ) 

In case price category is opened - returns its object

Returns:
oxcategory | null

Reimplemented from oxView.

Definition at line 274 of file article_seo.php.

Article_Seo.getTag (  ) 

Returns editable tag id if available

Returns:
string | null

Definition at line 287 of file article_seo.php.

Article_Seo._getSeoUrlQuery ( oObject,
iShopId 
) [protected]

Returns query for selecting seo url

Parameters:
object $oObject object to build query
Returns:
string

Reimplemented from Object_Seo.

Definition at line 302 of file article_seo.php.

Article_Seo.getEditLang (  ) 

Returns edit language id. In case current url is tag url - returns tag language

Returns:
int

Reimplemented from Object_Seo.

Definition at line 327 of file article_seo.php.

Article_Seo.getSeoEntryId (  )  [protected]

Returns seo entry ident

Returns:

Reimplemented from Object_Seo.

Definition at line 341 of file article_seo.php.

Article_Seo._getSeoEntryType (  )  [protected]

Returns seo entry type

Returns:
string

Reimplemented from Object_Seo.

Definition at line 357 of file article_seo.php.

Article_Seo._getType (  )  [protected]

Returns url type

Returns:
string

Reimplemented from Object_Seo.

Definition at line 370 of file article_seo.php.

Article_Seo._getStdUrl ( sOxid  )  [protected]

Returns objects std url

Returns:
string

Reimplemented from Object_Seo.

Definition at line 379 of file article_seo.php.

Article_Seo.processParam ( sParam  ) 

Processes parameter before writing to db

Parameters:
string $sParam parameter to process
Returns:
string

Reimplemented from Object_Seo.

Definition at line 408 of file article_seo.php.


Member Data Documentation

Article_Seo.$_sActCatId = null [protected]

Definition at line 13 of file article_seo.php.

Article_Seo.$_sActCatType = null [protected]

Definition at line 20 of file article_seo.php.

Article_Seo.$_iActCatLang = null [protected]

Definition at line 27 of file article_seo.php.

Article_Seo.$_oArtCategories = null [protected]

Definition at line 34 of file article_seo.php.

Article_Seo.$_oArtVendors = null [protected]

Definition at line 41 of file article_seo.php.

Article_Seo.$_oArtManufacturers = null [protected]

Definition at line 48 of file article_seo.php.

Article_Seo.$_oArticle = null [protected]

Definition at line 55 of file article_seo.php.


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

Generated on Tue Sep 29 16:46:03 2009 for OXID eShop CE by  doxygen 1.5.5