You are here

public function Actions::getAction in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

1 call to Actions::getAction()
Actions::getActionError in vendor/edsdk/file-uploader-server-php/src/lib/Actions.php

File

vendor/edsdk/file-uploader-server-php/src/lib/Actions.php, line 37

Class

Actions

Namespace

EdSDK\FileUploaderServer\lib

Code

public function getAction($name) {
  for ($i = 0; $i < count($this->m_actions); $i++) {
    if ($this->m_actions[$i]
      ->getName() === $name) {
      return $this->m_actions[$i];
    }
  }
  return null;
}