Elgg  Version master
ElggAdminNotice.php
Go to the documentation of this file.
1 <?php
5 class ElggAdminNotice extends \ElggObject {
6 
10  protected function initializeAttributes() {
11  parent::initializeAttributes();
12 
13  $this->attributes['subtype'] = 'admin_notice';
14  // admins can see ACCESS_PRIVATE but no one else can.
15  $this->attributes['access_id'] = ACCESS_PRIVATE;
16  }
17 }
const ACCESS_PRIVATE
Definition: constants.php:10
Admin Notice.