initializeRecord() 공개 메소드

public initializeRecord ( String $id, array &$row, TYPO3\CMS\Core\DataHandling\DataHandler $tceMain ) : void
$id String
$row array
$tceMain TYPO3\CMS\Core\DataHandling\DataHandler
리턴 void
예제 #1
0
파일: TceMain.php 프로젝트: JostBaron/flux
 /**
  * @param string $status The command which has been sent to processDatamap
  * @param string $table	The table we're dealing with
  * @param mixed $id Either the record UID or a string if a new record has been created
  * @param array $fieldArray The record row how it has been inserted into the database
  * @param DataHandler $reference A reference to the TCEmain instance
  * @return void
  */
 public function processDatamap_afterDatabaseOperations($status, $table, $id, &$fieldArray, &$reference)
 {
     if ('new' === $status && 'tt_content' === $table) {
         $this->contentService->initializeRecord($id, $fieldArray, $reference);
     }
     $arguments = array('status' => $status, 'id' => $id, 'row' => &$fieldArray);
     $fieldArray = $this->executeConfigurationProviderMethod('postProcessDatabaseOperation', $table, $id, $fieldArray, $arguments, $reference);
 }