You are here

public function FileUploaded::getErrors in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

Overrides AFile::getErrors

File

vendor/edsdk/file-uploader-server-php/src/lib/file/FileUploaded.php, line 52

Class

FileUploaded

Namespace

EdSDK\FileUploaderServer\lib\file

Code

public function getErrors() {
  $errors = (array) parent::getErrors();
  for ($i = 0; $i < count($this->m_confilictsErrors); $i++) {
    $errors[] = $this->m_confilictsErrors[$i];
  }
  for ($i = 0; $i < count($this->m_customErrors); $i++) {
    $errors[] = $this->m_customErrors[$i];
  }
  return $errors;
}