[TYPO3-mvc] FrontendUser Model - ExtBase 1.0.2 & 1.2.0Beta2

Christian Schwan schwan.christian at gmail.com
Mon May 31 14:24:12 CEST 2010


hey Nils,

thx for replying.

On ExtBase 1.0.2 (Linux) no changes must be needed in the getter for feUserID:

Array
(
    [0] => Tx_Crm_Domain_Model_History Object
        (
            [feCruserId:protected] =>
Tx_Extbase_Domain_Model_FrontendUser Object
                (
                    [username:protected] => dimme
                    [password:protected] => gwrsr{rigs
                    [usergroup:protected] =>
Tx_Extbase_Persistence_ObjectStorage Object





On ExtBase 1.1.0 beta2 with Xampp or ExtBase 1.0.2 with or without
Getter return for Tx_Extbase_Domain_Model_FrontendUser

         /**
	 * @var Tx_Extbase_Domain_Model_FrontendUser
	 */
	protected $feUserId;

         /**
	 * Getter for Action
	 * @return Tx_Extbase_Domain_Model_FrontendUser
	 */
	public function getFeUserId() {
		return $this->feUserId;
	}
--------------------------------------------------------------------

Array
(
    [0] => Tx_Crm_Domain_Model_History Object
        (
[controller:protected] => customer
[feUserId:protected] =>



The feUserId is evertime empty
if I Try:
/**
* @var string
*/
protected $feUserId;

it will retrun the uid but nothing happens with
Tx_Extbase_Domain_Model_FrontendUser


I tried also:


config.tx_extbase.persistence.classes {
    Tx_Crm_Domain_Model_Dashboard {
        mapping {
            tableName = fe_users
        }
    }
}

Nothing happens....


More information about the TYPO3-project-typo3v4mvc mailing list