* 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]
?>
// Call parent constructor
parent::__construct($className);
}
+
+ /**
+ * Renders the menu by loading the base template and a menu-specific
+ * template.
+ *
+ * @return void
+ */
+ public function renderMenu () {
+ $this->partialStub('Please implement this method.');
+ }
+
+ /**
+ * 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
+ */
+ public function transferContentToTemplateEngine (CompileableTemplate $templateInstance) {
+ $this->partialStub('templaateInstance=' . $templateInstance->__toString());
+ }
}
// [EOF]