Translations:Developers/Object oriented programming in PHP/Classes/42/en

The catalog item object holds a catalog node and it's children via the properties _node and _children. The item has only methods concerning it's own properties (mostly setter and getter methods). But the catalog manager takes care of the things that should be done with it defining all necessary methods, which are the standard methods for a manager to create, save, search, delete an item and the domain specific ones like to move or insert a catalog tree node or getting all catalog nodes lying in the path to a given catalog node. Item and manager are establishing the DAO / DTO design pattern.