Functions

Template for a command's help.

do_command_help(string $command, array $options, array $parameters) : \tempcode

Parameters

$command

string

Command name

$options

array

Options

$parameters

array

Parameters

Returns

\tempcodeHelp template

Returns a string containing the XML for any messages queued to be sent to the client.

get_queued_messages(boolean $xml) : string

Parameters

$xml

boolean

Output as XML or tempcode?

Returns

stringThe queued message XML

Standard code module initialisation function.

init__occle() 

Put something non-OcCLE in a standard box so it looks OK.

occle_make_normal_html_visible(mixed $html) : \tempcode

Parameters

$html

mixed

HTML (string or Tempcode)

Returns

\tempcodeBoxed HTML

OcCLE entry script.

occle_script() 

Classes and interfaces

virtual_bash

OcCLE.

« More »

virtual_fs

Virtual filesystems.

« More »

Constants

 

ASSIGNMENT

ASSIGNMENT 

 

COMMAND_LONE

COMMAND_LONE 

 

COMMAND_NATIVE

COMMAND_NATIVE 

 

COMMAND_PHP

COMMAND_PHP 

 

COMMAND_SCRIPT

COMMAND_SCRIPT 

 

COMMAND_SQL

COMMAND_SQL 

 

IN_EXTRA_SYNTAX_ASSIGNMENT

IN_EXTRA_SYNTAX_ASSIGNMENT 

 

IN_EXTRA_SYNTAX_STREAM

IN_EXTRA_SYNTAX_STREAM 

 

IN_EXTRA_VALUE

IN_EXTRA_VALUE 

 

IN_OPTION

IN_OPTION 

 

IN_OPTION_SYNTAX

IN_OPTION_SYNTAX 

 

IN_OPTION_VALUE

IN_OPTION_VALUE 

 

IN_PARAMETER

IN_PARAMETER 

 

MODE_NORMAL

MODE_NORMAL 

 

MODE_QUOTES

MODE_QUOTES 

 

OUT_EXTRA

OUT_EXTRA 

 

OUT_OPTION

OUT_OPTION 

 

OUT_PARAMETER

OUT_PARAMETER 

 

REDIRECT_APPEND

REDIRECT_APPEND 

 

REDIRECT_IDENTIFIER

REDIRECT_IDENTIFIER 

 

REDIRECT_INPUT

REDIRECT_INPUT 

 

REDIRECT_OVERWRITE

REDIRECT_OVERWRITE 

 

REDIRECT_PIPE

REDIRECT_PIPE 

 

SECTION_COMMAND

SECTION_COMMAND 

 

SECTION_EXTRAS

SECTION_EXTRAS 

 

SECTION_OPTIONS

SECTION_OPTIONS 

 

SECTION_PARAMETERS

SECTION_PARAMETERS 

 

STREAM_IDENTIFIER

STREAM_IDENTIFIER 

 

STREAM_STDCOMMAND

STREAM_STDCOMMAND 

 

STREAM_STDERR

STREAM_STDERR 

 

STREAM_STDHTML

STREAM_STDHTML 

 

STREAM_STDOUT

STREAM_STDOUT