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

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

javascript - Why Selenium can't find an element that is graphically visible -

qt - Microsoft FTP Service 451 The parameter is incorrect -