コード例 #1
0
 /**
  * import events
  *
  * @param Zend_Console_Getopt $_opts
  */
 public function import($_opts)
 {
     //If old param is used add the new one
     foreach ($_opts->getRemainingArgs() as $key => $opt) {
         if (strpos($opt, 'importContainerId=') !== false) {
             $_opts->addArguments(array('container_id=' . substr($opt, 18, strlen($opt))));
         }
     }
     parent::_import($_opts);
 }
コード例 #2
0
 /**
  * import contacts
  *
  * @param Zend_Console_Getopt $_opts
  */
 public function import($_opts)
 {
     parent::_import($_opts);
 }
コード例 #3
0
ファイル: Cli.php プロジェクト: carriercomm/Billing-5
 /**
  * import brevets
  *
  * @param Zend_Console_Getopt $_opts
  */
 public function importArticles($_opts)
 {
     set_time_limit(0);
     parent::_import($_opts, Billing_Controller_Article::getInstance());
 }