/** * Конструктор * @param type $dirUpload - директория загрузки * @param type $minWidth - допустимая минимальная ширина * @param type $minHeight - допустимая минимальная высота * @param type $maxWidth - допустимая максимальная ширина * @param type $maxHeight - допустимая максимальная высота */ public function __construct($dirUpload, $minWidth = null, $minHeight = null, $maxWidth = null, $maxHeight = null) { parent::__construct($dirUpload); $this->minWidth = $minWidth; $this->minHeight = $minHeight; $this->maxWidth = $maxWidth; $this->maxHeight = $maxHeight; }