コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * 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;
 }
コード例 #3
0
 /**
  * Constructor
  *
  * @param	string	$a_title	Title
  * @param	string	$a_postvar	Post Variable
  */
 function __construct($a_title = "", $a_postvar = "")
 {
     parent::__construct($a_title, $a_postvar);
 }
コード例 #4
0
 /**
  * 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();
 }