HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

ocPortal Developer's Guide: Installation and Upgrading

» Return to Contents


These are special functions used by the installer and upgrader.

sources/inst_special.php

Global_functions_inst_special.php

Function summary

array get_chmod_array ()

array get_chmod_array()

Get the list of files that need CHmodding for write access.

Parameters…

Returns…

Description The list of files
Type array

Return to the function index for this class Expand: View the source code to this function

sources/ocf_install.php

Global_functions_ocf_install.php

Function summary

void init__ocf_install ()
void uninstall_ocf_everytime ()
void uninstall_ocf ()
void install_ocf (?float upgrade_from)

void init__ocf_install()

Standard code module initialisation function.

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void uninstall_ocf_everytime()

Uninstall OCF (1).

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void uninstall_ocf()

Uninstall OCF (2).

Parameters…

(No return value)


Return to the function index for this class Expand: View the source code to this function

void install_ocf(?float upgrade_from)

Install/upgrade OCF.

Parameters…

Name upgrade_from
Description The version to upgrade from (NULL: fresh install).
Default value
Type ?float

(No return value)


Return to the function index for this class Expand: View the source code to this function