Inheritance diagram for oxActions:
Collaboration diagram for oxActions:Public Member Functions | |
| __construct () | |
| addArticle ($sOxId) | |
| removeArticle ($sOxId) | |
| delete ($sOxId=null) | |
| getTimeLeft () | |
| getTimeUntilStart () | |
| start () | |
| stop () | |
| isRunning () | |
| getLongDesc () | |
| getBannerArticle () | |
| getBannerPictureUrl () | |
| getBannerLink () | |
Protected Attributes | |
| $_sClassName = "oxactions" | |
Article actions manager. Collects and keeps actions of chosen article.
Definition at line 6 of file oxactions.php.
| oxActions.__construct | ( | ) |
Class constructor. Executes oxActions.init(), initiates parent constructor.
Reimplemented from oxI18n.
Definition at line 18 of file oxactions.php.
| oxActions.addArticle | ( | $ | sOxId | ) |
Adds an article to this actions
| string | $sOxId id of the article to be added |
Definition at line 31 of file oxactions.php.
| oxActions.delete | ( | $ | sOxId = null |
) |
Removes article action, returns true on success. For performance - you can not load action object - just pass action ID.
| string | $sOxId Object ID |
Reimplemented from oxI18n.
Definition at line 72 of file oxactions.php.
| oxActions.getBannerArticle | ( | ) |
| oxActions.getBannerLink | ( | ) |
Returns assigned banner link. If no link is defined and article is assigned to banner, article link will be returned.
Definition at line 230 of file oxactions.php.
| oxActions.getBannerPictureUrl | ( | ) |
Returns assigned banner article picture url
Definition at line 216 of file oxactions.php.
| oxActions.getLongDesc | ( | ) |
get long description, parsed through smarty
Definition at line 177 of file oxactions.php.
| oxActions.getTimeLeft | ( | ) |
| oxActions.getTimeUntilStart | ( | ) |
| oxActions.isRunning | ( | ) |
| oxActions.removeArticle | ( | $ | sOxId | ) |
Removes an article from this actions
| string | $sOxId id of the article to be removed |
Definition at line 53 of file oxactions.php.
| oxActions.start | ( | ) |
| oxActions.stop | ( | ) |
oxActions.$_sClassName = "oxactions" [protected] |
Reimplemented from oxI18n.
Definition at line 13 of file oxactions.php.
1.7.1