oxContent Class Reference

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

List of all members.


Detailed Description

Content manager. Base object for content pages

Definition at line 9 of file oxcontent.php.


Public Member Functions

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

Protected Member Functions

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

Protected Attributes

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

Constructor & Destructor Documentation

oxContent.__construct (  ) 

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

Reimplemented from oxI18n.

Definition at line 73 of file oxcontent.php.


Member Function Documentation

oxContent.__get ( sName  ) 

Extra getter to guarantee compatibility with templates

Parameters:
string $sName parameter name
Returns:
mixed

Reimplemented from oxBase.

Definition at line 61 of file oxcontent.php.

oxContent.getExpanded (  ) 

returns the expanded state of the content category

Returns:
bool

Definition at line 84 of file oxcontent.php.

oxContent.loadByIdent ( sLoadId  ) 

Loads Content by using field oxloadid instead of oxid

Parameters:
string $sLoadId content load ID
Returns:
bool

Definition at line 99 of file oxcontent.php.

oxContent.assign ( dbRecord  ) 

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

Parameters:
array $dbRecord database record
Returns:
null

Reimplemented from oxI18n.

Definition at line 116 of file oxcontent.php.

oxContent.getLink ( iLang = null  ) 

getLink returns link for this content in the frontend

Parameters:
integer $iLang language
public
Returns:
string

Definition at line 132 of file oxcontent.php.

oxContent.getStdLink ( iLang = null  ) 

Returns standard URL to product

Parameters:
integer $iLang language
Returns:
string

Definition at line 164 of file oxcontent.php.

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.

Definition at line 192 of file oxcontent.php.


Member Data Documentation

oxContent.$_sCoreTbl = 'oxcontents' [protected]

Definition at line 16 of file oxcontent.php.

oxContent.$_sClassName = 'oxcontent' [protected]

Reimplemented from oxI18n.

Definition at line 23 of file oxcontent.php.

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

Reimplemented from oxBase.

Definition at line 31 of file oxcontent.php.

oxContent.$_sNoparamlink = null [protected]

Definition at line 38 of file oxcontent.php.

oxContent.$_blExpanded = null [protected]

Definition at line 45 of file oxcontent.php.

oxContent.$_blIsSeoObject = true [protected]

Reimplemented from oxBase.

Definition at line 52 of file oxcontent.php.


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

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