Prado\Web\UI\ActiveControls\TActiveFileUpload::raiseCallbackEvent PHP Метод

raiseCallbackEvent() публичный Метод

This method is required by {@link ICallbackEventHandler} interface. This method is mainly used by framework and control developers.
public raiseCallbackEvent ( $param )
    public function raiseCallbackEvent($param)
    {
        $cp = $param->getCallbackParameter();
        if ($key = $cp->targetID == $this->_target->getUniqueID()) {
            $params = $this->popParamsByToken($cp->callbackToken);
            $_FILES[$key]['name'] = stripslashes($params->fileName);
            $_FILES[$key]['size'] = intval($params->fileSize);
            $_FILES[$key]['type'] = $params->fileType;
            $_FILES[$key]['error'] = intval($params->errorCode);
            $_FILES[$key]['tmp_name'] = $params->localName;
            $this->loadPostData($key, null);
            $this->raiseEvent('OnFileUpload', $this, $param);
        }
    }