/** * Test... * * @covers JFilesystemHelper::getJStreams * * @return void */ public function testGetJStreams() { $streams = JFilesystemHelper::getJStreams(); $this->assertEquals( array('string'), $streams ); }
/** * Determine if a stream is a Joomla stream. * * @param string $streamname The name of a stream * * @return boolean True for a Joomla Stream * * @since 11.1 */ function isJoomlaStream($streamname) { return in_array($streamname, JFilesystemHelper::getJStreams()); }