Свойство | Тип | Описание | |
---|---|---|---|
$_dirname | string | The default directory name for this element type. |
Метод | Описание | |
---|---|---|
__get ( $name ) | ||
base64ImgData ( $in, $limit = null ) | * Generate RFC 2397-compliant image data strings. | |
tag ( mixed $src, array $opts = [] ) : string | Constructs a correctly-pathed tag to an image. |
public static base64ImgData ( $in, $limit = null ) | ||
$in | URI or Horde_Themes_Image object containing image data. | |
$limit | Sets a hard size limit for image data; if exceeded, will not string encode. |
public static tag ( mixed $src, array $opts = [] ) : string | ||
$src | mixed | The image file (either a string or a Horde_Themes_Image object). |
$opts | array | Additional options: - alt: (string) Text describing the image. - attr: (mixed) Any additional attributes for the image tag. Can be a pre-built string or an array of key/value pairs that will be assembled and html-encoded. - fullsrc: (boolean) TODO - imgopts: (array) TODO |
Результат | string | The full image tag. |
protected string $_dirname | ||
Результат | string |