Zed. The source code to build a world.

ZedSmartLine.php

The Zed SmartLine subcontroller.

Zed. The immensity of stars. The HyperShip. The people.

(c) 2010, Dereckson, some rights reserved. Released under BSD license.

This is the SmartLine subcontroller.

The SmartLine is a widget allowing to add some basic CLI capability.

It executes any command given in GET or POST request (parameter C).

This files also provides SmartLine history helper: a method log_C to log a SmartLine command and some procedural code assigning a SmartLineHistory.

This code is inspired from Viper, a corporate PHP intranet I wrote in 2004. There, the SmartLine allowed to change color theme or to find quickly user, account, order or server information in a CRM context.

Tags
subpackage

SmartLine

author

Sébastien Santoro aka Dereckson dereckson@espace-win.org

copyright

2010 Sébastien Santoro aka Dereckson

license

http://www.opensource.org/licenses/bsd-license.php BSD

version
0.1
link
http://scherzo.dereckson.be/doc/zed
link
http://zed.dereckson.be/
filesource
todo

Caches SmartLine history

Table of Contents

Functions

log_C()  : mixed
Logs a Smartline command

Functions

log_C()

Logs a Smartline command

log_C(string $command[, bool $isError = false ]) : mixed
Parameters
$command : string

the command to log

$isError : bool = false

indicates if the command is an error


        
On this page

Search results