PHP Класс MetaImage

Наследование: extends MetaDbObject
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( $p_imageId = null )
getImageUrl ( $width = null, $height = null, $specs = 'crop' )
getThumbnailUrl ( )

Защищенные методы

Метод Описание
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 ( )

Описание методов

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

public __construct ( $p_imageId = null )

getArticleIndex() защищенный Метод

If the image doesn't belong to the article returns null.
protected getArticleIndex ( ) : integer
Результат integer

getCaption() защищенный Метод

Get article specific caption
protected getCaption ( ) : string
Результат string

getHour() защищенный Метод

protected getHour ( )

getImageRelativePath() защищенный Метод

protected getImageRelativePath ( )

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

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

getMinute() защищенный Метод

protected getMinute ( )

getMonth() защищенный Метод

protected getMonth ( )

getMonthDay() защищенный Метод

protected getMonthDay ( )

getMonthName() защищенный Метод

protected getMonthName ( )

getSecond() защищенный Метод

protected getSecond ( )

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

public getThumbnailUrl ( )

getType() защищенный Метод

protected getType ( )

getWeekDay() защищенный Метод

protected getWeekDay ( )

getWeekDayName() защищенный Метод

protected getWeekDayName ( )

getYear() защищенный Метод

fn __construct
protected getYear ( )

getYearDay() защищенный Метод

protected getYearDay ( )

isLocal() защищенный Метод

protected isLocal ( )