php - Extend a propel model class -
as described thoroughly in the propel documentation, propel generates base class, e.g., base\foo
extended individual class foo
. same applies another table, e.g., base\bar
, bar
respectively. add necessary attributes/methods base
classes can regenerated. using middle-class
class foo extends myclass {} class myclass extends base\foo { //must created each foo, bar, buzz, //they must extend base/foo, base/bar, base/buzz respectively }
what best way (in terms of propel) have single extendible class? should behaviours used?
Comments
Post a Comment