centurion-project / Centurion

Centurion is an open-source CMS delivered as a flexible PHP5 Content Management Framework
http://www.centurion-project.org
197 stars 51 forks source link

Add a support of model caching in the Action Helper getObjectOr404 #20

Closed frenchcomp closed 12 years ago

frenchcomp commented 12 years ago

With the usefull helper "GetObjectOr404", we can pass a model object, but you can not use the cache system provided by the method "getCache" (the test on the type of the object accept only Centurion_Db_Table_Abstract). This commit allows it.