Neos\Flow\Mvc\ActionRequest::getInternalArguments PHP Метод

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

Returns the internal arguments of the request, that is, all arguments whose name starts with two underscores.
public getInternalArguments ( ) : array
Результат array
    public function getInternalArguments()
    {
        return $this->internalArguments;
    }

Usage Example

 /**
  * Updates the password credential from the POST vars, if the POST parameters
  * are available. Sets the authentication status to AUTHENTICATION_NEEDED, if credentials have been sent.
  *
  * Note: You need to send the password in this POST parameter:
  *       __authentication[TYPO3][Flow][Security][Authentication][Token][PasswordToken][password]
  *
  * @param ActionRequest $actionRequest The current action request
  * @return void
  */
 public function updateCredentials(ActionRequest $actionRequest)
 {
     if ($actionRequest->getHttpRequest()->getMethod() !== 'POST') {
         return;
     }
     $postArguments = $actionRequest->getInternalArguments();
     $password = ObjectAccess::getPropertyPath($postArguments, '__authentication.TYPO3.Flow.Security.Authentication.Token.PasswordToken.password');
     if (!empty($password)) {
         $this->credentials['password'] = $password;
         $this->setAuthenticationStatus(self::AUTHENTICATION_NEEDED);
     }
 }
All Usage Examples Of Neos\Flow\Mvc\ActionRequest::getInternalArguments