Actions

API15

JTemplate/parse

From Joomla! ドキュメンテーション

Revision as of 20:56, 7 January 2016 by Sync (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Contents

Description

Parse a file

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

parse($file)
Parameter Name Default Value Description
$file $file The filename

Defined in

libraries/joomla/template/template.php

Importing

jimport( 'joomla.template.template' );

Source Body

function parse( $file )
{
        $this->_file = $file; //store the file for later usage
        $this->readTemplatesFromInput( $file );
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />