Hallo.
Ich habe eine Extension erstellt (ist schon etwas älter), die die Tabelle 
fe_users erweitert.
Das Model habe ich von Tx_Extbase_Domain_Model_FrontendUser abgeleitet.
Ich möchte nun gerne das crdate des Users auslesen.
Dazu habe ich das Model entsprechend erweitert:

/**
* Erstelldatum
*
* @var DateTime
*/
protected $crdate;

/**
* Returns the crdate
*
* @return DateTime $crdate
*/
public function getCrdate() {
        return $this->crdate;
}

Ebenso habe ich das TCA erweitert:
## EXTENSION BUILDER DEFAULTS END TOKEN - Everything BEFORE this line is 
overwritten with the defaults of the extension builder
$TCA['tx_kbs_domain_model_user_account']['columns']['crdate'] = Array (
   'exclude' => 1,
   'label' => 'Creation date',
   'config' => Array (
       'type' => 'none',
       'format' => 'date',
       'eval' => 'date',
   )
);

Dennoch bekomme ich das crdate nicht zurück, sondern ein leeres Objekt.

Hat jemand eine Idee, was ich noch falsch mache?
Danke,
lg
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an