PHP 클래스 Craft\Imager_ImagePathsModel

상속: extends craft\BaseModel
파일 보기 프로젝트 열기: aelvan/Imager-Craft

공개 메소드들

메소드 설명
__construct ( $image ) Constructor

보호된 메소드들

메소드 설명
defineAttributes ( ) : array

비공개 메소드들

메소드 설명
_downloadFile ( $destinationPath, $imageUrl ) Downloads remote file. Uses cURL if available, then tries with file_get_contents() if allow_url_fopen.
_getPathsForLocalAsset ( craft\AssetFileModel $image ) Get paths for a local asset
_getPathsForLocaleFile ( $image ) Get paths for a local file that's not in the imager path
_getPathsForUrl ( $image ) Get paths for an external file (really external, or on an external source type)
getPathsForLocalImagerFile ( $image ) Get paths for a local file that's in the imager path

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $image )
$image

defineAttributes() 보호된 메소드

protected defineAttributes ( ) : array
리턴 array