Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
EntityIcon.php
Go to the documentation of this file.
1
<?php
2
namespace
Elgg
;
3
7
interface
EntityIcon
{
16
public
function
saveIconFromUploadedFile(
$input_name
,
$type
=
'icon'
, array
$coords
= array());
17
26
public
function
saveIconFromLocalFile(
$filename
,
$type
=
'icon'
, array
$coords
= array());
27
36
public
function
saveIconFromElggFile(\
ElggFile
$file
,
$type
=
'icon'
, array
$coords
= array());
37
46
public
function
getIcon(
$size
,
$type
=
'icon'
);
47
54
public
function
deleteIcon(
$type
=
'icon'
);
55
64
public
function
getIconURL(
$params
);
65
74
public
function
getIconLastChange(
$size
,
$type
=
'icon'
);
75
83
public
function
hasIcon(
$size
,
$type
=
'icon'
);
84
}
$file
if(!array_key_exists($filename, $text_files)) $file
Definition:
plugin_text_file.php:29
Elgg\EntityIcon
Entities that support icons should implement this interface.
Definition:
EntityIcon.php:7
$input_name
$input_name
Definition:
item.php:14
$params
$params
Definition:
login.php:72
Elgg
Save menu items.
$size
$size
Definition:
default.php:20
$filename
$filename
Definition:
plugin_text_file.php:6
ElggFile
$coords
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $coords
Definition:
crop.php:15
$type
if(!$display_name) $type
Definition:
delete.php:27
Generated on Wed Dec 4 2024 00:01:02 for Elgg by
1.8.11