You are here

public function PHPVideoToolkit::hasCommand in Video 7

Same name and namespace in other branches
  1. 7.2 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::hasCommand()

* Determines if the the command exits. * * @access public *

Parameters

string $command: * @return mixed boolean if failure or value if exists.

1 call to PHPVideoToolkit::hasCommand()
PHPVideoToolkit::execute in libraries/phpvideotoolkit/phpvideotoolkit.php5.php
* Commits all the commands and executes the ffmpeg procedure. This will also attempt to validate any outputted files in order to provide * some level of stop and check system. * * @access public *

File

libraries/phpvideotoolkit/phpvideotoolkit.php5.php, line 3870

Class

PHPVideoToolkit

Code

public function hasCommand($command) {
  return isset($this->_commands[$command]) === true ? $this->_commands[$command] === false ? true : $this->_commands[$command] : false;
}