 Inheritance diagram for oxNews:
 Inheritance diagram for oxNews: Collaboration diagram for oxNews:
 Collaboration diagram for oxNews:| Public Member Functions | |
| __construct () | |
| assign ($dbRecord) | |
| getGroups () | |
| inGroup ($sGroupID) | |
| delete ($sOxid=null) | |
| getLongDesc () | |
| Protected Member Functions | |
| _update () | |
| _insert () | |
| _setFieldData ($sFieldName, $sValue, $iDataType=oxField::T_TEXT) | |
| Protected Attributes | |
| $_oGroups = null | |
| $_sClassName = 'oxnews' | |
News manager. Performs news text collection. News may be sorted by user categories (only these user may read news), etc.
Definition at line 9 of file oxnews.php.
| oxNews.__construct | ( | ) | 
Class constructor, initiates parent constructor (parent.oxI18n()).
Reimplemented from oxI18n.
Definition at line 30 of file oxnews.php.
| oxNews._insert | ( | ) |  [protected] | 
Inserts object details to DB, returns true on success.
Reimplemented from oxI18n.
Definition at line 137 of file oxnews.php.
| 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 | $iDataType field type | 
Reimplemented from oxBase.
Definition at line 159 of file oxnews.php.
| oxNews._update | ( | ) |  [protected] | 
Updates object information in DB.
Reimplemented from oxI18n.
Definition at line 124 of file oxnews.php.
| oxNews.assign | ( | $ | dbRecord | ) | 
Assigns object data.
| string | $dbRecord database record to be assigned | 
Reimplemented from oxBase.
Definition at line 43 of file oxnews.php.
| oxNews.delete | ( | $ | sOxid = null | ) | 
Deletes object information from DB, returns true on success.
| string | $sOxid Object ID (default null) | 
Reimplemented from oxI18n.
Definition at line 101 of file oxnews.php.
| oxNews.getGroups | ( | ) | 
Returns list of user groups assigned to current news object
Definition at line 59 of file oxnews.php.
| oxNews.getLongDesc | ( | ) | 
get long description, parsed through smarty
Definition at line 175 of file oxnews.php.
| oxNews.inGroup | ( | $ | sGroupID | ) | 
Checks if this object is in group, returns true on success.
| string | $sGroupID user group ID | 
Definition at line 81 of file oxnews.php.
| oxNews.$_oGroups = null  [protected] | 
Definition at line 16 of file oxnews.php.
| oxNews.$_sClassName = 'oxnews'  [protected] | 
Reimplemented from oxI18n.
Definition at line 23 of file oxnews.php.
 1.7.1
 1.7.1