protected function getData($check = false)
    {
        $data = parent::getData($check);
        $data['login'] = UserHelper::getUserLogin(\common_session_SessionManager::getSession()->getUser());

        if ($this->hasRequestParameter('workstation')) {
            $data[PaginatedSqlStorage::DIAGNOSTIC_WORKSTATION] = \tao_helpers_Display::sanitizeXssHtml(trim($this->getRequestParameter('workstation')));
        }

        return $data;
    }
protected function getData($check = false)
    {
        $data = parent::getData($check);
        $data['login'] = UserHelper::getUserLogin(\common_session_SessionManager::getSession()->getUser());

        if ($this->hasRequestParameter('workstation')) {
            $data[PaginatedSqlStorage::DIAGNOSTIC_WORKSTATION] = \tao_helpers_Display::sanitizeXssHtml(trim($this->getRequestParameter('workstation')));
        }

        return $data;
    }
protected function getData ( $ check = false ) { $ data = parent :: getData ( $ check ) ; $ data [ 'login' ] = UserHelper :: getUserLogin ( \ common_session_SessionManager :: getSession ( ) -> getUser ( ) ) ; if ( $ this -> hasRequestParameter ( 'workstation' ) ) { $ data [ PaginatedSqlStorage :: DIAGNOSTIC_WORKSTATION ] = \ tao_helpers_Display :: sanitizeXssHtml ( trim ( $ this -> getRequestParameter ( 'workstation' ) ) ) ; } return $ data ; }
Fetch POST data
Get login by cookie
If check parameters is true, check mandatory parameters

@param bool $check
@return array
@throws \common_exception_MissingParameter
Fetch POST data Get login by cookie If check parameters is true check mandatory parameters