PHP 클래스 Flickr, pubwich

저자: Rémi Prévost (exomel.com)
상속: extends Service
파일 보기 프로젝트 열기: remiprev/pubwich 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$compteur
$row
$sort

공개 메소드들

메소드 설명
__construct ( $config )
getAbsoluteUrl ( array $photo, $size = 's' ) : string Return a Flickr photo URL
getData ( ) : SimpleXMLElement Overcharge parent::getData()
populateItemTemplate ( &$item ) : array Return an array of key->value using the item data
setVariables ( array $config ) : void Sets some common variables (row, sort, compteur) and item template

메소드 상세

__construct() 공개 메소드

public __construct ( $config )

getAbsoluteUrl() 공개 메소드

Return a Flickr photo URL
public getAbsoluteUrl ( array $photo, $size = 's' ) : string
$photo array Photo item
리턴 string

getData() 공개 메소드

Overcharge parent::getData()
public getData ( ) : SimpleXMLElement
리턴 SimpleXMLElement

populateItemTemplate() 공개 메소드

Return an array of key->value using the item data
public populateItemTemplate ( &$item ) : array
리턴 array

setVariables() 공개 메소드

Sets some common variables (row, sort, compteur) and item template
public setVariables ( array $config ) : void
$config array The config array
리턴 void

프로퍼티 상세

$compteur 공개적으로 프로퍼티

public $compteur

$row 공개적으로 프로퍼티

public $row

$sort 공개적으로 프로퍼티

public $sort