PHP 트레잇 Josegonzalez\Upload\Validation\Traits\ImageValidationTrait

파일 보기 프로젝트 열기: josegonzalez/cakephp-upload

공개 메소드들

메소드 설명
isAboveMinHeight ( mixed $check, integer $height ) : boolean Check that the file is above the minimum height requirement
isAboveMinWidth ( mixed $check, integer $width ) : boolean Check that the file is above the minimum width requirement
isBelowMaxHeight ( mixed $check, integer $height ) : boolean Check that the file is below the maximum height requirement
isBelowMaxWidth ( mixed $check, integer $width ) : boolean Check that the file is below the maximum width requirement

메소드 상세

isAboveMinHeight() 공개 정적인 메소드

Check that the file is above the minimum height requirement
public static isAboveMinHeight ( mixed $check, integer $height ) : boolean
$check mixed Value to check
$height integer Height of Image
리턴 boolean Success

isAboveMinWidth() 공개 정적인 메소드

Check that the file is above the minimum width requirement
public static isAboveMinWidth ( mixed $check, integer $width ) : boolean
$check mixed Value to check
$width integer Width of Image
리턴 boolean Success

isBelowMaxHeight() 공개 정적인 메소드

Check that the file is below the maximum height requirement
public static isBelowMaxHeight ( mixed $check, integer $height ) : boolean
$check mixed Value to check
$height integer Height of Image
리턴 boolean Success

isBelowMaxWidth() 공개 정적인 메소드

Check that the file is below the maximum width requirement
public static isBelowMaxWidth ( mixed $check, integer $width ) : boolean
$check mixed Value to check
$width integer Width of Image
리턴 boolean Success