API16

JFilesystemHelper/getJStreams

From Joomla! Documentation

< API16:JFilesystemHelper

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Description[edit]

Returns a list of J! streams


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

Syntax[edit]

getJStreams()


Defined in[edit]

libraries/joomla/filesystem/helper.php

Importing[edit]

jimport( 'joomla.filesystem.helper' );

Source Body[edit]

function getJStreams() {
        static $streams;
        if(!$streams) $streams = array_map(array('JFile','stripExt'),JFolder::files(dirname(__FILE__).DS.'streams','.php'));
        return $streams;
}


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

Examples[edit]

Code Examples[edit]