[TYPO3-dev] Get crdate on custom Model

Nicole Cordes typo3 at cordes.co
Mon Mar 14 17:25:03 CET 2016


Hi Matteo,

Am 14.03.2016 um 14:07 schrieb Matteo Fonsatti:
> in the model Application.php
> /**
>       * crdate
>       *
>       * @var int
>       */
>      protected $crdate;
>
> /**
>       * Returns the crdate
>       *
>       * @return int crdate
>       */
>      public function getCrdate() {
>          return $this->crdate;
>      }

IMHO you forget the setter for your property so it can't get set.


Best regards,
Nicole
	
--
Nicole Cordes
TYPO3 CMS Core Team Member
TYPO3 Security Team Co-Leader

TYPO3 .... inspiring people to share!
Get involved: typo3.org



More information about the TYPO3-dev mailing list