| Elgg
    Version master
    | 
Go to the source code of this file.
| Variables | |
| $user = elgg_extract('entity', $vars) | |
| Set a time window where you don't wish to receive notifications.  More... | |
| if(! $user instanceof \ElggUser) | $start = $user->timed_muting_start | 
| $end = $user->timed_muting_end | |
| $fields | |
| if (!empty( $start) &&!empty( $end) &&$start< time() &&$end > time()) | |
| $end = $user->timed_muting_end | 
Definition at line 14 of file timed_muting.php.
| $fields | 
Definition at line 16 of file timed_muting.php.
Definition at line 13 of file timed_muting.php.
| $user = elgg_extract('entity', $vars) | 
Set a time window where you don't wish to receive notifications.
@uses $vars['entity'] the user to set the setings for
Definition at line 8 of file timed_muting.php.
| if(!empty($start) &&!empty($end) && $start< time() && $end > time()) | ( | ! | empty $start) &&!empty( $end) &&$start< time() &&$end > time( | ) | 
Definition at line 40 of file timed_muting.php.