# Dynamic ClassMethods
+ def self.load_manifest
+ super
+ # Class Methods
+ pm = Manifest.manifest.models[self.my_peta.parent_model_name].classify
+ define_singleton_method("parent_model") do
+ pm
+ end
+ # Instance Methods
+ end
+
+ def self.element?
+ true
+ end
+
+ def self.root_model
+ self.parent_model
+ end
+
+ def root
+ self.__send__ self.class.root_model.item_name
+ end
+
+ def visible? operators
+ return false unless super
+ self.root.visible? operators
+ end
+
def self.play_list_where cid
['scroll_panels.scroll_id = ?', cid]
end