Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 14... Línea 14...
14
// You should have received a copy of the GNU General Public License
14
// You should have received a copy of the GNU General Public License
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
Línea 16... Línea 16...
16
 
16
 
Línea 17... Línea -...
17
namespace core\output;
-
 
18
 
-
 
19
use templatable;
17
namespace core\output;
20
 
18
 
21
/**
19
/**
22
 * A subset of templatable which provides the name of the template to use.
20
 * A subset of templatable which provides the name of the template to use.
23
 *
21
 *
24
 * @package   core
22
 * @package   core
25
 * @copyright 2022 Andrew Lyons <andrew@nicols.co.uk>
23
 * @copyright 2022 Andrew Lyons <andrew@nicols.co.uk>
26
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
24
 * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
27
 */
-
 
28
interface named_templatable extends templatable {
25
 */
29
 
26
interface named_templatable extends templatable {
30
    /**
27
    /**
31
     * Get the name of the template to use for this templatable.
28
     * Get the name of the template to use for this templatable.
32
     *
29
     *
33
     * @param \renderer_base $renderer The renderer requesting the template name
30
     * @param renderer_base $renderer The renderer requesting the template name
34
     * @return string
31
     * @return string
35
     */
32
     */