PHP Class MetaImage

Inheritance: extends MetaDbObject
Datei anzeigen Open project: sourcefabric/newscoop Class Usage Examples

Public Methods

Method Description
__construct ( $p_imageId = null )
getImageUrl ( $width = null, $height = null, $specs = 'crop' )
getThumbnailUrl ( )

Protected Methods

Method Description
getArticleIndex ( ) : integer Returns the index of the current image inside the article.
getCaption ( ) : string Get article specific caption
getHour ( )
getImageRelativePath ( )
getMinute ( )
getMonth ( )
getMonthDay ( )
getMonthName ( )
getSecond ( )
getType ( )
getWeekDay ( )
getWeekDayName ( )
getYear ( ) fn __construct
getYearDay ( )
isLocal ( )

Method Details

__construct() public method

public __construct ( $p_imageId = null )

getArticleIndex() protected method

If the image doesn't belong to the article returns null.
protected getArticleIndex ( ) : integer
return integer

getCaption() protected method

Get article specific caption
protected getCaption ( ) : string
return string

getHour() protected method

protected getHour ( )

getImageRelativePath() protected method

protected getImageRelativePath ( )

getImageUrl() public method

public getImageUrl ( $width = null, $height = null, $specs = 'crop' )

getMinute() protected method

protected getMinute ( )

getMonth() protected method

protected getMonth ( )

getMonthDay() protected method

protected getMonthDay ( )

getMonthName() protected method

protected getMonthName ( )

getSecond() protected method

protected getSecond ( )

getThumbnailUrl() public method

public getThumbnailUrl ( )

getType() protected method

protected getType ( )

getWeekDay() protected method

protected getWeekDay ( )

getWeekDayName() protected method

protected getWeekDayName ( )

getYear() protected method

fn __construct
protected getYear ( )

getYearDay() protected method

protected getYearDay ( )

isLocal() protected method

protected isLocal ( )