コード例 #1
0
 /**
  * Add an issue
  *
  * @param Tx_Smoothmigration_Domain_Model_Issue $object
  *
  * @return void
  */
 public function add($object)
 {
     if ($GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', 'tx_smoothmigration_domain_model_issue', 'inspection = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($object->getInspection(), 'tx_smoothmigration_domain_model_issue') . ' AND identifier = ' . $GLOBALS['TYPO3_DB']->fullQuoteStr($object->getIdentifier(), 'tx_smoothmigration_domain_model_issue')) == 0) {
         parent::add($object);
     }
 }