Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
ElggIcon.php
Go to the documentation of this file.
1 <?php
2 
6 class ElggIcon extends ElggFile {
7 
11  protected function initializeAttributes() {
12  parent::initializeAttributes();
13 
14  $this->attributes['subtype'] = 'icon';
15  }
16 
20  public function save() {
21  throw new \LogicException(__CLASS__ . ' instances exist as placeholders and can not be upgraded to entities');
22  }
23 }
save()
{}
Definition: ElggIcon.php:20
Entity icon class.
Definition: ElggIcon.php:6
initializeAttributes()
{}
Definition: ElggIcon.php:11