Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail

Package s2Member\s2File

s2member\includes\classes\sc-files-in.inc.php at line #28

Class c_ws_plugin__s2member_sc_files_in

c_ws_plugin__s2member_sc_files_in

public class c_ws_plugin__s2member_sc_files_in

Shortcode [s2File /] (inner processing routines).

Since:

110926


( 2 Methods )
Method Summary
public static str

sc_get_file(array $attr, str $content, str $shortcode)

Handles the Shortcode for: [s2File /].

public static str

sc_get_stream(array $attr, str $content, str $shortcode)

Handles the Shortcode for: [s2Stream /].

( 2 Methods )
Method Detail

s2member\includes\classes\sc-files-in.inc.php at line #43

sc_get_file()

public static str sc_get_file(array $attr, str $content, str $shortcode)

Handles the Shortcode for: [s2File /].

Since:

110926

Attaches-to:

add_shortcode("s2File");

Parameters:

array $attr - An array of Attributes.

str $content - Content inside the Shortcode.

str $shortcode - The actual Shortcode name itself.

Returns:

str - Value of requested File Download URL, streamer array element; or null on failure.

[ back to top ]

s2member\includes\classes\sc-files-in.inc.php at line #97

sc_get_stream()

public static str sc_get_stream(array $attr, str $content, str $shortcode)

Handles the Shortcode for: [s2Stream /].

Since:

130119

Attaches-to:

add_shortcode("s2Stream");

Parameters:

array $attr - An array of Attributes.

str $content - Content inside the Shortcode.

str $shortcode - The actual Shortcode name itself.

Returns:

str - HTML markup that produces an audio/video stream for a specific player.

[ back to top ]

Source Code Documentation


Field Summary | Method Summary | Field Detail | Method Detail