Source Code Documentation


Function Summary | Function Detail

Package s2Member ( 12 Functions )


( 12 Functions )
Function Summary
public static str[]

_ws_plugin__s2member_classes_scan_dirs_r(str $starting_dir)

Scans recursively for class sub-directories.

public static str[]

_ws_plugin__s2member_pro_classes_scan_dirs_r(str $starting_dir)

Scans recursively for class sub-directories.

public void

ws_plugin__s2member_activate()

Deprecated in s2Member v3.5+.

public null

ws_plugin__s2member_classes(str $class)

s2Member class autoloader.

public array

ws_plugin__s2member_configure_options_and_their_defaults(array $options)

Configures an options array for the s2Member plugin.

public void

ws_plugin__s2member_deactivate()

Deprecated in s2Member v3.5+.

public void

ws_plugin__s2member_enqueue_admin_notice(bool $notice, bool $on_pages, bool $error, bool $time, bool $dismiss)

Deprecated in s2Member v3.5+.

public null

ws_plugin__s2member_pro_classes(str $class)

s2Member Pro class autoloader.

public array

ws_plugin__s2member_pro_default_options(array $default_options)

Configures default options array for s2Member Pro.

public array

ws_plugin__s2member_pro_options_before_checksum(array $options)

Configures options array; while handling s2Member Pro options.

public void

ws_plugin__s2member_remote(bool $url, bool $post_vars, mixed $args)

Deprecated in s2Member v3.5+.

public void

ws_plugin__s2member_trim_deep(bool $data)

Deprecated in s2Member v3.5+.

( 12 Functions )
Function Detail

s2member\includes\functions\class-autoloader.inc.php at line #73

_ws_plugin__s2member_classes_scan_dirs_r()

public static str[] _ws_plugin__s2member_classes_scan_dirs_r (str $starting_dir)

Scans recursively for class sub-directories.

Used by the s2Member autoloader.

Since:

3.5

Parameters:

str $starting_dir - The directory to start scanning from.

Returns:

str[] - An array of class directories.

[ back to top ]

pro\s2member-pro\includes\functions\class-autoloader.inc.php at line #88

_ws_plugin__s2member_pro_classes_scan_dirs_r()

public static str[] _ws_plugin__s2member_pro_classes_scan_dirs_r (str $starting_dir)

Scans recursively for class sub-directories.

Used by the s2Member Pro autoloader.

Since:

1.5

Parameters:

str $starting_dir - The directory to start scanning from.

Returns:

str[] - An array of class directories.

[ back to top ]

s2member\includes\functions\deprecated.inc.php at line #35

ws_plugin__s2member_activate()

public void ws_plugin__s2member_activate ()

Deprecated in s2Member v3.5+.

The s2Clean theme; prior to s2Clean v1.2.5 looked for the existence of this function. In fact, all older PriMoThemes called upon the activate/deactivate functions.

Since:

1.0

Deprecated:

Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_installation::activate()

See Also:

s2Member\Installationc_ws_plugin__s2member_installation::activate()

[ back to top ]

s2member\includes\functions\class-autoloader.inc.php at line #39

ws_plugin__s2member_classes()

public null ws_plugin__s2member_classes (str $class)

s2Member class autoloader.

The __autoload function for s2Member classes. This highly optimizes s2Member. Giving it a much smaller footprint. See: http://www.php.net/manual/en/function.spl-autoload-register.php

Since:

3.5

Parameters:

str $class - The class that needs to be loaded. Passed in by PHP itself.

Returns:

null

[ back to top ]

s2member\includes\syscon.inc.php at line #122

ws_plugin__s2member_configure_options_and_their_defaults()

public array ws_plugin__s2member_configure_options_and_their_defaults (array $options)

Configures an options array for the s2Member plugin.

WARNING: This is a system configuration function, please DO NOT EDIT this function directly. Instead, use the plugin options panel in WordPress® to override these settings.

Since:

3.0

Parameters:

array $options - Optional. An array of new options, to be merged with the defaults.

Returns:

array - This merged array of options: $GLOBALS["WS_PLUGIN__"]["s2member"]["o"]

[ back to top ]

s2member\includes\functions\deprecated.inc.php at line #53

ws_plugin__s2member_deactivate()

public void ws_plugin__s2member_deactivate ()

Deprecated in s2Member v3.5+.

The s2Clean theme; prior to s2Clean v1.2.5 looked for the existence of this function. In fact, all older PriMoThemes called upon the activate/deactivate functions.

Since:

1.0

Deprecated:

Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_installation::deactivate()

See Also:

s2Member\Installationc_ws_plugin__s2member_installation::deactivate()

[ back to top ]

s2member\includes\functions\deprecated.inc.php at line #104

ws_plugin__s2member_enqueue_admin_notice()

public void ws_plugin__s2member_enqueue_admin_notice (bool $notice, bool $on_pages, bool $error, bool $time, bool $dismiss)

Deprecated in s2Member v3.5+.

Needed by the s2Member Pro upgrader prior to s2Member Pro v1.5+.

Since:

3.0

Deprecated:

Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_admin_notices::enqueue_admin_notice()

See Also:

s2Member\Admin_Noticesc_ws_plugin__s2member_admin_notices::enqueue_admin_notice()

[ back to top ]

pro\s2member-pro\includes\functions\class-autoloader.inc.php at line #53

ws_plugin__s2member_pro_classes()

public null ws_plugin__s2member_pro_classes (str $class)

s2Member Pro class autoloader.

The __autoload function for s2Member Pro classes. This highly optimizes s2Member Pro. Giving it a much smaller footprint. See: http://www.php.net/manual/en/function.spl-autoload-register.php

Since:

1.5

Parameters:

str $class - The class that needs to be loaded. Passed in by PHP itself.

Returns:

null

[ back to top ]

pro\s2member-pro\includes\syscon.inc.php at line #88

ws_plugin__s2member_pro_default_options()

public array ws_plugin__s2member_pro_default_options (array $default_options)

Configures default options array for s2Member Pro.

WARNING: This is a system configuration function, please DO NOT EDIT this function directly. Instead, use the plugin options panel in WordPress® to override these settings.

Since:

1.0

Parameters:

array $default_options - Expects an array of default options passed in by the Filter.

Returns:

array - Merged with default options from the s2Member Framework. All Pro options should be prefixed with pro_.

[ back to top ]

pro\s2member-pro\includes\syscon.inc.php at line #138

ws_plugin__s2member_pro_options_before_checksum()

public array ws_plugin__s2member_pro_options_before_checksum (array $options)

Configures options array; while handling s2Member Pro options.

WARNING: This is a system configuration function, please DO NOT EDIT this function directly. Instead, use the plugin options panel in WordPress® to override these settings.

Since:

1.0

Parameters:

array $options - Expects an array of options, by reference, passed in by the Filter. $GLOBALS["WS_PLUGIN__"]["s2member"]["o"], by reference.

Returns:

array - Merged with options from the s2Member Framework. All Pro options should be prefixed with pro_.

[ back to top ]

s2member\includes\functions\deprecated.inc.php at line #87

ws_plugin__s2member_remote()

public void ws_plugin__s2member_remote (bool $url, bool $post_vars, mixed $args)

Deprecated in s2Member v3.5+.

Needed by the s2Member Pro upgrader prior to s2Member Pro v1.5+.

Since:

3.0

Deprecated:

Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_utils_urls::remote()

See Also:

s2Member\Utilitiesc_ws_plugin__s2member_utils_urls::remote()

[ back to top ]

s2member\includes\functions\deprecated.inc.php at line #70

ws_plugin__s2member_trim_deep()

public void ws_plugin__s2member_trim_deep (bool $data)

Deprecated in s2Member v3.5+.

Needed by the s2Member Pro upgrader prior to s2Member Pro v1.5+.

Since:

3.0

Deprecated:

Starting with s2Member v3.5+, please use: c_ws_plugin__s2member_utils_strings::trim_deep()

See Also:

s2Member\Utilitiesc_ws_plugin__s2member_utils_strings::trim_deep()

[ back to top ]

Source Code Documentation


Function Summary | Function Detail