public function PHPVideoToolkit::hasCommand in Video 7.2
Same name and namespace in other branches
- 7 libraries/phpvideotoolkit/phpvideotoolkit.php5.php \PHPVideoToolkit::hasCommand()
Determines if the the command exits.
@access public
Parameters
string $command:
Return value
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.
File
- libraries/
phpvideotoolkit/ phpvideotoolkit.php5.php, line 3532 - Libary to access FFmpeg
Class
Code
public function hasCommand($command, $before_input = FALSE) {
return isset($this->_commands[$before_input][$command]) ? $this->_commands[$before_input][$command] === FALSE ? TRUE : $this->_commands[$before_input][$command] : FALSE;
}