#NEWLINE# def get_child_classes( self , slot , page ) : #NEWLINE# #INDENT# if ( not hasattr ( self , '_cached_child_classes' ) ) : #NEWLINE# #INDENT# if self . cms_plugin_instance : #NEWLINE# #INDENT# if self . cms_plugin_instance . parent : #NEWLINE# #INDENT# ( parent_plugin_instance , parent_plugin ) = self . cms_plugin_instance . parent . get_plugin_instance ( ) #NEWLINE# parent_plugin . cms_plugin_instance = parent_plugin_instance #NEWLINE# child_classes = set ( parent_plugin . get_child_classes ( slot , page ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# template = ( ( page and page . get_template ( ) ) or None ) #NEWLINE# child_classes = set ( get_placeholder_conf ( 'plugins' , slot , template , default = [ ] ) ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# child_classes = set ( ) #NEWLINE# #UNINDENT# child_classes . update ( super ( TransparentMixin , self ) . get_child_classes ( slot , page ) ) #NEWLINE# self . _cached_child_classes = tuple ( child_classes ) #NEWLINE# #UNINDENT# return self . _cached_child_classes