Methods renderMenu() and transferContentToTemplateEngine() added
[core.git] / inc / classes / interfaces / menu / class_RenderableMenu.php
index be12780baae00d3b09f5722d0f308d39cf03d968..23c5a4cafcdbb843a81897931847b48952a653f2 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface RenderableMenu extends FrameworkInterface {
+       /**
+        * Renders the menu by loading the base template and a menu-specific
+        * template.
+        *
+        * @return      void
+        */
+       function renderMenu ();
+
+       /**
+        * Transfers the rendered menu to a given templatex engine by assigning
+        * the rendered content with a template variable.
+        *
+        * @2param      $templateInstance       An instance of a CompileableTemplate class
+        * @return      void
+        */
+       function transferContentToTemplateEngine (CompileableTemplate $templateInstance);
 }
 
-//
+// [EOF]
 ?>