Support Joomla!

references:joomla.framework:application:jview-setlayoutext

Table of Contents

setLayoutExt

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Application Class JView Method setLayoutExt Reference setLayoutExt() Never Work in Progress

Changes the extension that is used for layout files.

The layout extension is appended onto the layout name to determine the file that is used for rendering the view. The only characters where are permitted are English letters and numbers.

The method returns the previous layout extension value.

Syntax

string setLayoutExt ( $value )

$value string is a string containing the file extension to be used for layouts.

Examples

Example

echo $view->setLayoutExt( 'html' );

might return:

Result

php

ISCUSSION~~

 
references/joomla.framework/application/jview-setlayoutext.txt (411 views) · Last modified: 2007/08/15 14:49