PHP 클래스 Horde_Themes_Image, horde

저자: Michael Slusarz ([email protected])
상속: extends Horde_Themes_Element
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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.

메소드 상세

__get() 공개 메소드

public __get ( $name )

base64ImgData() 공개 정적인 메소드

* Generate RFC 2397-compliant image data strings.
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.

tag() 공개 정적인 메소드

Constructs a correctly-pathed tag to an image.
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.

프로퍼티 상세

$_dirname 보호되어 있는 프로퍼티

The default directory name for this element type.
protected string $_dirname
리턴 string