PHP Class MetaImage

Inheritance: extends MetaDbObject
Afficher le fichier Open project: sourcefabric/newscoop Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

public __construct ( $p_imageId = null )

getArticleIndex() protected méthode

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

getCaption() protected méthode

Get article specific caption
protected getCaption ( ) : string
Résultat string

getHour() protected méthode

protected getHour ( )

getImageRelativePath() protected méthode

protected getImageRelativePath ( )

getImageUrl() public méthode

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

getMinute() protected méthode

protected getMinute ( )

getMonth() protected méthode

protected getMonth ( )

getMonthDay() protected méthode

protected getMonthDay ( )

getMonthName() protected méthode

protected getMonthName ( )

getSecond() protected méthode

protected getSecond ( )

getThumbnailUrl() public méthode

public getThumbnailUrl ( )

getType() protected méthode

protected getType ( )

getWeekDay() protected méthode

protected getWeekDay ( )

getWeekDayName() protected méthode

protected getWeekDayName ( )

getYear() protected méthode

fn __construct
protected getYear ( )

getYearDay() protected méthode

protected getYearDay ( )

isLocal() protected méthode

protected isLocal ( )