Elgg
Version 6.1
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
ElggIcon.php
Go to the documentation of this file.
1
<?php
2
3
use
Elgg\Exceptions\LogicException
as
ElggLogicException
;
4
8
class
ElggIcon
extends
ElggFile
{
9
13
protected
function
initializeAttributes
() {
14
parent::initializeAttributes();
15
16
$this->attributes[
'subtype'
] =
'icon'
;
17
}
18
24
public
function
save
(): bool {
25
throw
new
ElggLogicException
(__CLASS__ .
' instances exist as placeholders and can not be upgraded to entities'
);
26
}
27
}
ElggIcon\save
save()
{}
Definition:
ElggIcon.php:24
LogicException
ElggFile
Definition:
ElggFile.php:32
ElggIcon
Entity icon class.
Definition:
ElggIcon.php:8
ElggIcon\initializeAttributes
initializeAttributes()
{}
Definition:
ElggIcon.php:13
Generated on Wed Dec 4 2024 00:00:21 for Elgg by
1.8.11