[Horde_CLI] element index

Package indexes

All elements
b c f g h i m p r s w y _
_
top
Variable $_blue_end
Variable $_blue_start
Variable $_bold_end
The string to mark the end of bold text.
Variable $_bold_start
The string to mark the beginning of bold text.
Variable $_clearscreen
The string to use for clearing the screen.
Variable $_console
Are we running on a console?
Variable $_green_end
Variable $_green_start
Variable $_indent
The indent string to use.
Variable $_newline
The newline string to use.
Variable $_red_end
The strings to mark the end of coloured text.
Variable $_red_start
The strings to mark the beginning of coloured text.
Variable $_terminalBackgrounds
Terminal background color codes. Not used yet.
Variable $_terminalForegrounds
Terminal foreground color codes. Not used yet.
Variable $_yellow_end
Variable $_yellow_start
Method _shutdown
Destroys any session on script end.
b
top
Method blue
Returns a blue version of $text.
Method bold
Returns a bold version of $text.
c
top
Method clearScreen
Clears the entire screen, if possible.
Page CLI.php
CLI.php in CLI.php
Page colors.php
colors.php in colors.php
f
top
Method fatal
Displays a fatal error message.
g
top
Method green
Returns a green version of $text.
h
top
Method Horde_CLI
Detect the current environment (web server or console) and sets internal values accordingly.
Class Horde_CLI
Horde_CLI in CLI.php
Horde_CLI:: API for basic command-line functionality/checks.
i
top
Method indent
Returns the indented string.
Method init
CLI scripts shouldn't timeout, so try to set the time limit to none. Also initialize a few variables in $_SERVER that aren't present from the CLI.
m
top
Method message
Displays a message.
p
top
Method prompt
Prompts for a user response.
r
top
Method readStdin
Reads everything that is sent through standard input and returns it as a single string.
Method red
Horde_CLI::red() in CLI.php
Returns a red version of $text.
Method runningFromCLI
Make sure we're being called from the command line, and not via the web.
s
top
Method singleton
Returns a single instance of the Horde_CLI class.
w
top
Method writeln
Prints $text on a single line.
y
top
Method yellow
Returns a yellow version of $text.
b c f g h i m p r s w y _