oxContent Class Reference

Inheritance diagram for oxContent:

Inheritance graph
[legend]
Collaboration diagram for oxContent:

Collaboration graph
[legend]

List of all members.


Detailed Description

Content manager. Base object for content pages

Public Member Functions

 __get ($sName)
 __construct ()
 getExpanded ()
 loadByIdent ($sLoadId)
 assign ($dbRecord)
 getLink ($iLang=null)
 getStdLink ($iLang=null)

Public Attributes

 $noparamlink = null

Protected Member Functions

 _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT)

Protected Attributes

 $_sCoreTbl = 'oxcontents'
 $_sClassName = 'oxcontent'
 $_aSkipSaveFields = array( 'oxtimestamp' )
 $_blExpanded = null
 $_blIsSeoObject = true

Constructor & Destructor Documentation

oxContent.__construct (  ) 

Class constructor, initiates parent constructor (parent.oxI18n()).

Reimplemented from oxI18n.


Member Function Documentation

oxContent.__get ( sName  ) 

Extra getter to guarantee compatibility with templates

Parameters:
string $sName parameter name
Returns:
mixed

Reimplemented from oxBase.

oxContent.getExpanded (  ) 

returns the expanded state of the content category

Returns:
bool

oxContent.loadByIdent ( sLoadId  ) 

Loads Content by using field oxloadid instead of oxid

Parameters:
string $sLoadId content load ID
Returns:
bool

oxContent.assign ( dbRecord  ) 

Replace the "&" into "&" and call base class

Parameters:
array $dbRecord database record
Returns:
null

Reimplemented from oxI18n.

oxContent.getLink ( iLang = null  ) 

getLink returns link for this content in the frontend

public

Returns:
string

oxContent.getStdLink ( iLang = null  ) 

Returns standard URL to product

Returns:
string

oxContent._setFieldData ( sFieldName,
sValue,
iDataType = oxField::T_TEXT 
) [protected]

Sets data field value

Parameters:
string $sFieldName index OR name (eg. 'oxarticles__oxtitle') of a data field to set
string $sValue value of data field
int $iDataType field type
Returns:
null

Reimplemented from oxBase.


Member Data Documentation

oxContent.$_sCoreTbl = 'oxcontents' [protected]

oxContent.$_sClassName = 'oxcontent' [protected]

Reimplemented from oxI18n.

oxContent.$_aSkipSaveFields = array( 'oxtimestamp' ) [protected]

Reimplemented from oxBase.

oxContent.$noparamlink = null

oxContent.$_blExpanded = null [protected]

oxContent.$_blIsSeoObject = true [protected]

Reimplemented from oxBase.


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

Generated on Wed Oct 29 23:43:51 2008 for OXID eShop CE by  doxygen 1.5.5