Back to FilesystemHelper class

Method isJoomlaStream

public static bool
isJoomlaStream
(mixed $streamname)
Determine if a stream is a Joomla stream.
Parameters
  • string $streamname The name of a stream
Returns
  • bool True for a Joomla Stream
Since
  • 1.7.0

Method isJoomlaStream - Source code

/**
 * Determine if a stream is a Joomla stream.
 *
 * @param   string  $streamname  The name of a stream
 *
 * @return  boolean  True for a Joomla Stream
 *
 * @since   1.7.0
 */
public static function isJoomlaStream($streamname)
{
    return \in_array($streamname, self::getJStreams());
}