StatusReadNotificationsCommand Class Reference
Command to set status to read. More...
Inheritance diagram for
StatusReadNotificationsCommand:
Protected Member Functions |
|
do_execute () | |
Change status. |
Detailed Description
Command to set status to read.
Definition at line 10 of file status.read.cmd.php.
Member Function Documentation
StatusReadNotificationsCommand::do_execute | ( | ) | [protected] |
Change status.
- Returns:
- Status
Reimplemented from StatusAnyCommand.
Definition at line 16 of file status.read.cmd.php.
00016 { 00017 $ret = new Status(); 00018 Load::models('notifications'); 00019 $inst = $this->get_instance(); 00020 $inst->read_through = Notifications::READ_MARK_MANUALLY; 00021 $ret->merge(parent::do_execute()); 00022 return $ret; 00023 }
The documentation for this class was generated from the following file:
- contributions/usermanagement.notifications/behaviour/commands/notifications/status.read.cmd.php