PHP Трейт Josegonzalez\Upload\Validation\Traits\ImageValidationTrait

Показать файл Открыть проект

Открытые методы

Метод Описание
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