[+API] Extbase (Domain): Add new fields to FrontendUser model. Thanks to Steffen...
authorJochen Rau <j.rau@web.de>
Thu, 4 Mar 2010 06:40:56 +0000 (06:40 +0000)
committerJochen Rau <j.rau@web.de>
Thu, 4 Mar 2010 06:40:56 +0000 (06:40 +0000)
typo3/sysext/extbase/Classes/Domain/Model/FrontendUser.php

index 48acf43..f06130f 100644 (file)
@@ -57,6 +57,21 @@ class Tx_Extbase_Domain_Model_FrontendUser extends Tx_Extbase_DomainObject_Abstr
        /**
         * @var string
         */
+       protected $firstName;
+
+       /**
+        * @var string
+        */
+       protected $middleName;
+
+       /**
+        * @var string
+        */
+       protected $lastName;
+
+       /**
+        * @var string
+        */
        protected $address = '';
 
        /**
@@ -244,6 +259,69 @@ class Tx_Extbase_Domain_Model_FrontendUser extends Tx_Extbase_DomainObject_Abstr
        }
 
        /**
+        * Sets the firstName value
+        *
+        * @param string $firstName
+        * @return void
+        * @api
+        */
+       public function setFirstName($firstName) {
+               $this->firstName = $firstName;
+       }
+
+       /**
+        * Returns the firstName value
+        *
+        * @return string
+        * @api
+        */
+       public function getFirstName() {
+               return $this->firstName;
+       }
+
+       /**
+        * Sets the middleName value
+        *
+        * @param string $middleName
+        * @return void
+        * @api
+        */
+       public function setMiddleName($middleName) {
+               $this->middleName = $middleName;
+       }
+
+       /**
+        * Returns the middleName value
+        *
+        * @return string
+        * @api
+        */
+       public function getMiddleName() {
+               return $this->middleName;
+       }
+
+       /**
+        * Sets the lastName value
+        *
+        * @param string $lastName
+        * @return void
+        * @api
+        */
+       public function setLastName($lastName) {
+               $this->lastName = $lastName;
+       }
+
+       /**
+        * Returns the lastName value
+        *
+        * @return string
+        * @api
+        */
+       public function getLastName() {
+               return $this->lastName;
+       }
+
+       /**
         * Sets the address value
         *
         * @param string $address