gyro/core/lib/interfaces/irenderer.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Interface for all elements that render content 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Interfaces 00007 */ 00008 interface IRenderer { 00009 const NONE = false; 00010 00011 /** 00012 * Renders what should be rendered 00013 * 00014 * @param int $policy Defines how to render, meaning depends on implementation 00015 * @return string The rendered content 00016 */ 00017 public function render($policy = self::NONE); 00018 }