Overriding Model Getters in Doctrine
When I was working on my current project using Symfony 1.4 with Doctine 1.2, I needed to override Doctrine’s get method to return a date format of “Y-m-d” rather than default ‘Y-m-d H:i:s’ format for timestamp value. It was simply the matter of doing: in Propel, however, Doctrine will complain: …