PHP 클래스 infoweb\cms\models\PlaceHolder

상속: extends Image
파일 보기 프로젝트 열기: infoweb-internet-solutions/yii2-cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$filePath
$urlAlias

공개 메소드들

메소드 설명
__construct ( ) * public function getUrl($size = false){ $url = $this->getModule()->placeHolderUrl; if(!$url){ throw new \Exception('PlaceHolder image must have url setting!!!'); } return $url; }
getPathToOrigin ( )
setMain ( $isMain = true )

보호된 메소드들

메소드 설명
getSubDur ( )

메소드 상세

__construct() 공개 메소드

* public function getUrl($size = false){ $url = $this->getModule()->placeHolderUrl; if(!$url){ throw new \Exception('PlaceHolder image must have url setting!!!'); } return $url; }
public __construct ( )

getPathToOrigin() 공개 메소드

public getPathToOrigin ( )

getSubDur() 보호된 메소드

protected getSubDur ( )

setMain() 공개 메소드

public setMain ( $isMain = true )

프로퍼티 상세

$filePath 공개적으로 프로퍼티

public $filePath

$urlAlias 공개적으로 프로퍼티

public $urlAlias