Actions

API16

JFilesystemHelper/getJStreams

< 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

Returns a list of J! streams


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

Syntax

getJStreams()


Defined in

libraries/joomla/filesystem/helper.php

Importing

jimport( 'joomla.filesystem.helper' );

Source Body

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

Code Examples


Advertisement