You are here

protected function AAction::validateBoolean in N1ED - Visual editor as CKEditor plugin with Bootstrap support 7

2 calls to AAction::validateBoolean()
ActionUploadCommit::run in vendor/edsdk/file-uploader-server-php/src/lib/action/ActionUploadCommit.php
ActionUploadCommit::validateSize in vendor/edsdk/file-uploader-server-php/src/lib/action/ActionUploadCommit.php

File

vendor/edsdk/file-uploader-server-php/src/lib/action/AAction.php, line 21

Class

AAction

Namespace

EdSDK\FileUploaderServer\lib\action

Code

protected function validateBoolean($b, $defaultValue) {
  return $b === null ? $defaultValue : $b;
}