Navigation

Search

ssi_news

Description

Outputs or returns a random news line depending on output_method.

Syntax

mixed ssi_news ([string $output_method])



Parameter $output_method

Expected type: String
Description: Standard SSI.php output_method variable. If 'echo', the function outputs a random news line. Otherwise the function will return said news line.



Return value

Expected type: Mixed
Description:

Possible types
Allowed values Description
Void Outputs a random news line if $output_method is 'echo'
String Returns a random news line if $output_method isn't 'echo'


View all versions of this function