Public Member Functions | Protected Member Functions | Protected Attributes

Article_Seo Class Reference

Inheritance diagram for Article_Seo:
Collaboration diagram for Article_Seo:

List of all members.

Public Member Functions

 render ()
 getSelectedCategoryId ()
 getActCategory ()
 getTag ()
 getActVendor ()
 getActManufacturer ()
 getListType ()
 getEditLang ()
 getActCategoryLang ()
 getActCatType ()
 processParam ($sParam)
 getNoCatId ()

Protected Member Functions

 _getSeoDataSql ($oObject, $iShopId, $iLang)
 _getCategoryList ($oArticle)
 _setMainCategory ($oProduct, $oCatList)
 _getVendorList ($oArticle)
 _getManufacturerList ($oArticle)
 _getTagList ($oArticle)
 _getSeoUrl ($oArticle)
 _getSeoUrlQuery ($oObject, $iShopId)
 _getSeoEntryId ()
 _getAltSeoEntryId ()
 getSeoEntryId ()
 _getSeoEntryType ()
 _getType ()
 _getStdUrl ($sOxid)
 _getEncoder ()

Protected Attributes

 $_sActCatId = null
 $_sActCatType = null
 $_iActCatLang = null
 $_oArtCategories = null
 $_oArtVendors = null
 $_oArtManufacturers = null
 $_oArticle = null
 $_sNoCategoryId = '__nonecatid'

Detailed Description

Article seo config class

Definition at line 6 of file article_seo.php.


Member Function Documentation

Article_Seo._getAltSeoEntryId (  )  [protected]

Returns alternative seo entry id

Returns:
null

Reimplemented from Object_Seo.

Definition at line 472 of file article_seo.php.

Article_Seo._getCategoryList ( oArticle  )  [protected]

Returns list with deepest article categories

Parameters:
object $oArticle Article object
Returns:
oxlist

Definition at line 128 of file article_seo.php.

Article_Seo._getEncoder (  )  [protected]

Returns current object type seo encoder object

Returns:
oxSeoEncoderCategory

Reimplemented from Object_Seo.

Definition at line 592 of file article_seo.php.

Article_Seo._getManufacturerList ( oArticle  )  [protected]

Returns list with deepest article categories

Parameters:
object $oArticle Article object
Returns:
oxlist

Definition at line 212 of file article_seo.php.

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

Returns SQL to fetch seo data

Parameters:
object $oObject Object
int $iShopId Shop ID
int $iLang Language ID
Returns:
string

Reimplemented from Object_Seo.

Definition at line 95 of file article_seo.php.

Article_Seo._getSeoEntryId (  )  [protected]

Returns seo entry ident

Returns:
string

Reimplemented from Object_Seo.

Definition at line 455 of file article_seo.php.

Article_Seo._getSeoEntryType (  )  [protected]

Returns seo entry type

Returns:
string

Reimplemented from Object_Seo.

Definition at line 494 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 299 of file article_seo.php.

Article_Seo._getSeoUrlQuery ( oObject,
iShopId 
) [protected]

Returns query for selecting seo url

Parameters:
object $oObject object to build query
int $iShopId Shop id
Returns:
string

Reimplemented from Object_Seo.

Definition at line 405 of file article_seo.php.

Article_Seo._getStdUrl ( sOxid  )  [protected]

Returns objects std url

Parameters:
string $sOxid object id
Returns:
string

Reimplemented from Object_Seo.

Definition at line 520 of file article_seo.php.

Article_Seo._getTagList ( oArticle  )  [protected]

Returns tag list

Parameters:
object $oArticle Article object
Returns:
oxlist

Definition at line 235 of file article_seo.php.

Article_Seo._getType (  )  [protected]

Returns url type

Returns:
string

Reimplemented from Object_Seo.

Definition at line 508 of file article_seo.php.

Article_Seo._getVendorList ( oArticle  )  [protected]

Returns list with deepest article categories

Parameters:
object $oArticle Article object
Returns:
oxlist

Definition at line 189 of file article_seo.php.

Article_Seo._setMainCategory ( oProduct,
oCatList 
) [protected]

Marks category from list as main

Parameters:
oxarticle $oProduct active product object
oxlist $oCatList category list
Returns:
null

Definition at line 165 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 334 of file article_seo.php.

Article_Seo.getActCategoryLang (  ) 

Returns active edit language id

Returns:
int

Definition at line 445 of file article_seo.php.

Article_Seo.getActCatType (  ) 

Returns active category type

Returns:
string

Definition at line 556 of file article_seo.php.

Article_Seo.getActManufacturer (  ) 

Returns active manufacturer object if available

Returns:
oxmanufacturer | null

Definition at line 367 of file article_seo.php.

Article_Seo.getActVendor (  ) 

Returns active vendor object if available

Returns:
oxvendor | null

Definition at line 356 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 431 of file article_seo.php.

Article_Seo.getListType (  ) 

Returns list type for current seo url

Returns:
string

Definition at line 378 of file article_seo.php.

Article_Seo.getNoCatId (  ) 

Returns id used to identify situation when product has no category assigned

Returns:
string

Definition at line 582 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 255 of file article_seo.php.

Article_Seo.getSeoEntryId (  )  [protected]

Returns seo entry ident

Deprecated:
should be used object_seo._getSeoEntryId()
Returns:
string

Reimplemented from Object_Seo.

Definition at line 484 of file article_seo.php.

Article_Seo.getTag (  ) 

Returns editable tag id if available

Returns:
string | null

Definition at line 345 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 568 of file article_seo.php.

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 69 of file article_seo.php.


Member Data Documentation

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.$_oArticle = null [protected]

Definition at line 55 of file article_seo.php.

Article_Seo.$_oArtManufacturers = null [protected]

Definition at line 48 of file article_seo.php.

Article_Seo.$_oArtVendors = null [protected]

Definition at line 41 of file article_seo.php.

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.$_sNoCategoryId = '__nonecatid' [protected]
Returns:

Definition at line 61 of file article_seo.php.


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