

Public Member Functions | |
| __construct () | |
| assign ($dbRecord) | |
| getGroups () | |
| inGroup ($sGroupID) | |
| delete ($sOxid=null) | |
Protected Member Functions | |
| _update () | |
| _insert () | |
| _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
Protected Attributes | |
| $_oGroups = null | |
| $_sClassName = 'oxnews' | |
| oxNews.__construct | ( | ) |
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
| oxNews.assign | ( | $ | dbRecord | ) |
Assigns object data.
| string | $dbRecord database record to be assigned |
Reimplemented from oxI18n.
| oxNews.getGroups | ( | ) |
| oxNews.inGroup | ( | $ | sGroupID | ) |
Checks if this object is in group, returns true on success.
| string | $sGroupID user group ID |
| oxNews.delete | ( | $ | sOxid = null |
) |
Deletes object information from DB, returns true on success.
| string | $sOxid Object ID (default null) |
Reimplemented from oxBase.
| oxNews._update | ( | ) | [protected] |
| oxNews._insert | ( | ) | [protected] |
| oxNews._setFieldData | ( | $ | sFieldName, | |
| $ | sValue, | |||
| $ | iDataType = oxField::T_TEXT | |||
| ) | [protected] |
Sets data field value
| string | $sFieldName index OR name (eg. 'oxarticles__oxtitle') of a data field to set | |
| string | $sValue value of data field | |
| int | field type |
Reimplemented from oxBase.
oxNews.$_oGroups = null [protected] |
oxNews.$_sClassName = 'oxnews' [protected] |
Reimplemented from oxI18n.
1.5.5