Elgg\EntityIcon::saveIconFromLocalFile PHP Метод

saveIconFromLocalFile() публичный Метод

Saves icons using a local file as the source.
public saveIconFromLocalFile ( string $filename, string $type = 'icon', array $coords = [] ) : boolean
$filename string The full path to the local file
$type string The name of the icon. e.g., 'icon', 'cover_photo'
$coords array An array of cropping coordinates x1, y1, x2, y2
Результат boolean
    public function saveIconFromLocalFile($filename, $type = 'icon', array $coords = array());