[TYPO3-mvc] bug? extbase doesn't use getter

Dmitri Pisarev dimaip at gmail.com
Mon Jun 7 19:49:15 CEST 2010


In my library extension, I try to parse datetime field to return 
formatted date. However, extbase doesn't seem to use getter, but rather 
uses the raw value. Why is that?


	/**
	 * Getter for datetime
	 *
	 * @return string datetime
	 */
	public function getDatetime() {
		return 12345678; //date('Y.m.d',$this->datetime);
	}

Here's the source 
http://forge.typo3.org/projects/extension-library/repository


More information about the TYPO3-project-typo3v4mvc mailing list