Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 16... Línea 16...
16
{
16
{
17
    protected $templateName;
17
    protected $templateName;
Línea 18... Línea 18...
18
 
18
 
19
    /**
19
    /**
20
     * @param string    $templateName
20
     * @param string    $templateName
21
     * @param Exception $previous
21
     * @param ?Exception $previous
22
     */
22
     */
23
    public function __construct($templateName, Exception $previous = null)
23
    public function __construct($templateName, ?Exception $previous = null)
24
    {
24
    {
25
        $this->templateName = $templateName;
25
        $this->templateName = $templateName;
26
        $message = sprintf('Unknown template: %s', $templateName);
26
        $message = sprintf('Unknown template: %s', $templateName);
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
27
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {