/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->setType("flash_file"); $this->setSuffixes(array("swf")); $this->width = 550; $this->height = 400; $this->parameters = array(); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { global $lng; parent::__construct($a_title, $a_postvar); $this->setType("image_file"); $this->setAllowDeletion(true); $this->setSuffixes(array("jpg", "jpeg", "png", "gif")); $this->setHiddenTitle("(" . $lng->txt("form_image_file_input") . ")"); $this->cache = true; }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); }
/** * Constructor * * @param string $a_title Title * @param string $a_postvar Post Variable */ function __construct($a_title = "", $a_postvar = "") { parent::__construct($a_title, $a_postvar); $this->uniqueId = self::getNextUniqueId(); }