PHP Class infoweb\cms\models\PlaceHolder

Inheritance: extends Image
Afficher le fichier Open project: infoweb-internet-solutions/yii2-cms Class Usage Examples

Méthodes publiques

Свойство Type Description
$filePath
$urlAlias

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
getSubDur ( )

Method Details

__construct() public méthode

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

public getPathToOrigin ( )

getSubDur() protected méthode

protected getSubDur ( )

setMain() public méthode

public setMain ( $isMain = true )

Property Details

$filePath public_oe property

public $filePath

$urlAlias public_oe property

public $urlAlias