/** * Make sure we know the ID for ajax upload session data * @param array */ public function __construct($arrAttributes = false) { $this->strId = $arrAttributes['id']; $_SESSION['AJAX-FFL'][$this->strId] = array('type' => 'fancyupload'); parent::__construct($arrAttributes); }