You are here

public function ImceFM::getPost in IMCE 8.2

Same name and namespace in other branches
  1. 8 src/ImceFM.php \Drupal\imce\ImceFM::getPost()

Returns value of a posted parameter.

4 calls to ImceFM::getPost()
ImceFM::getInitError in src/ImceFM.php
Performs the initialization and returns the first error message.
ImceFM::getOp in src/ImceFM.php
Returns the current operation in the request.
ImceFM::initSelection in src/ImceFM.php
Initiates the selection with a list of user provided item paths.
ImceFM::run in src/ImceFM.php
Runs an operation on the file manager.

File

src/ImceFM.php, line 327

Class

ImceFM
Imce File Manager.

Namespace

Drupal\imce

Code

public function getPost($key, $default = NULL) {
  return $this->request ? $this->request->request
    ->get($key, $default) : $default;
}