$args |
array |
args to add to the command. These can be:
array(
// Special argument 'input' will not get prepended with '--'.
'input' => 'cover',
// Special argument 'inputArg' is treated like 'input' but will get escaped
// Both 'input' and 'inputArg' can be used in combination
'inputArg' => '/tmp/tmpFileName.html',
'no-outline', // option without argument
'encoding' => 'UTF-8', // option with argument
// Option with 2 arguments
'cookie' => array('name'=>'value'),
// Repeatable options with single argument
'run-script' => array(
'local1.js',
'local2.js',
),
// Repeatable options with 2 arguments
'replace' => array(
'{page}' => $page++,
'{title}' => $pageTitle,
), |