Exemplo n.º 1
0
 /**
  * Obtains configuration keys from the CLI arguments
  *
  * @param  tx_crawler_cli_im $cliObj    Command line object
  * @return mixed                        Array of keys or null if no keys found
  */
 protected function getConfigurationKeys(tx_crawler_cli_im &$cliObj)
 {
     $parameter = trim($cliObj->cli_argValue('-conf'));
     return $parameter != '' ? \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $parameter) : array();
 }
Exemplo n.º 2
0
 /**
  * Obtains configuration keys from the CLI arguments
  *
  * @param  tx_crawler_cli_im $cliObj    Command line object
  * @return mixed                        Array of keys or null if no keys found
  */
 protected function getConfigurationKeys(tx_crawler_cli_im &$cliObj)
 {
     $parameter = trim($cliObj->cli_argValue('-conf'));
     return $parameter != '' ? t3lib_div::trimExplode(',', $parameter) : array();
 }