-
Recent Posts
Ubuntu Countdown
Archives
Recent Comments
Categories
Tags
ajax apache api bandwidth bash browsers bug config custom fields data validation Developing with Netsuite Doctrine embed error firefox forms google google analytics html HTML 5 JavaScript jQuery linux netbeans netsuite Netsuite Bugs Netsuite Errors Netsuite Sucks network override PHP PHP Framework php toolkit plugin routing sample code script search security Symfony task Ubuntu web browsers xml YML
Tag Archives: override
Symfony override getter
Similar to overriding setters, overriding getters in symfony has a strange syntax. Rather than doing the normal override code you must use special methods. This code will NOT work consistently: However, this code will work: Although the first code will … Continue reading
Symfony/Doctrine and Setters
Apparently when using Symfony 1.4 with Doctrine, you can’t simply override the setters the way most programmers are use to. The following code example will cause infinite recursion if placed inside a class that extends sfDoctrineRecord: Instead you have to … Continue reading
