/** * Create a new image manipulation * * @param string $name * @param array|string $allowed List of allowed file categories (not extensions), as per File::$app_categories */ public function __construct($name = null, $allowed = array()) { parent::__construct($name); $this->setAllowedCategories($allowed); }
public function __construct($name = null) { $this->currencyLib = new Zend_Currency(null, i18n::get_locale()); parent::__construct($name); }