Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
$#!
 _
A
 a_index
 a_modules
 Add, Container
 Add_Column, View
 Add_InputColumn, View
 add_item
 add_separator, Menu
 add_view
 admin
 Administration
 AnimateDown
 AnimateUp
B
 BSD Licence
 Button
 ButtonClose
 ButtonLink
 ButtonOk
 ButtonOkNew
 ButtonUndo
C
 cell_image
 cell_time2Human
 Center
 CenterObject
 ChangeVisibility
 CheckRights
 CheckSession, UserView
 Close
 CloseHeight
 code conventions
 Combo functions
 ComboName2Id
 ComboSelect
 config
 Container
 create_colHeader
 create_tree_index, Tree
D
 db_count_select, SQLView
 DB2Time
 DbgStatus
E
 EditSplashs
 End, Form
 EntityViewFce
 ErrStatus
 Expected module functions
F
 Files
 FillPageBuffer, View
 Form
 forms
 FormsReg
 Functions
function _($isText)
Simple hack when php has no gettext support
This is only special copy of w_index.php.
This is only special copy of modules.php.
function Add(GuiObject $ioObject)
function Add_Column($isHeader,  
$isFce =  NULL)
Adds column to view and returns it’s index.
function Add_InputColumn($isHeader,
$isInput,
$inAddColumnValue)
pridam do tabulky dalsi sloupecek string se zklada napri.
function add_item($isName,  
$isRootMenu =  '',
$isLink =  '',
$isJavaScript =  '',
$isRights =  '')
Overwriting of Tree.add_item, menu item has special structure, we save array as item.
function add_item($ieItem,  
$isTreeId =  '')
Adds item to tree array and returns it’s id.
function add_separator($isSeparator =  '-',
$isRootMenu =  '')
Adds seParator to menu as separator.
function add_view($isString,  
$buffer_name =  'view_buffer')
Adds string to global buffer
Copy of index.php.
Default user/password is admin/admin.
function AnimateDown(id)
Animate object down from hide to full visible id - object id Be carefull, when you change steping algorithm in RollHeightDown, firefox has so slow javascript engine.
function AnimateUp(id)
Animate object up from full visible to hide id - object id Be carefull, when you change steping algorithm in RollHeightUp, firefox has so slow javascript engine.
Copyright © 2005, Ondřej Tůma Blackmouse All rights reserved.
Button class is Gui Object button usable in forms
function Button($isName,  
$isLabel =  'Button',
$isType =  'button')
Class constructor
Special reset button.
function ButtonClose($isLabel,
$isFormCssId)
Special element, which could look like button.
function ButtonLink($isLabel,
$isLink)
Submit button for forms.
function ButtonOk($isLabel)
Special submit button.
function ButtonOkNew($isLabel,
$isFormCssId)
Reset button for forms.
function ButtonUndo($isLabel)
function cell_image(&$iaRow,
$inKey)
special view function for easy covert string from SQL to image xhtml tag snd returns it.
function cell_time2Human(&$iaRow,
$inKey)
special view function for easy covert string from SQL to Human readable string and returns it.
function Center(id)
center object on html page (Form for example) id - html object id
function CenterObject($isHtmlObject)
function ChangeVisibility(id)
Simple change visivility of id object
function CheckRights($icRight)
Compare user rights with $icRight.
function CheckSession()
Checks if is defined session for lrView, if no, create it
function Close()
function Close()
Close conection with database (or close file)
function CloseHeight(id)
Hides object on page, to it could be roll down via AnimateDown
I learned some conventions and I took them to self.
function ComboName2Id($ioSql,  
$isColId,  
$isTable,  
$isName,  
$isRow =  'Name')
Returns Id of name, which finds in table.
function ComboSelect($ioSql,  
$isColId,  
$isTable,  
$isRow =  'Name')
return array of pair values Id => Name.
Template of config.php.
Container is typical graphic element, that can include some other graphics elements.
function create_colHeader($isName,  
$ibVisble =  true,
$isLink =  '',
$isCss =  '',
$isFce =  NULL)
Returns column header with column configuration.
function create_tree_index($last_tree)
call method get_last_item and calculate next possible
function db_count_select()
call lsSQLRowCount query
function DB2Time($isTime)
function DbgStatus($isMessage)
Adds Debug Status to session StatusBar variable.
function EditSplashs($Text)
function End()
Returns FormButtons block so buttons definitions and end of form.
function EntityViewFce(&$iaRow,
$inKey)
function ErrStatus($isMessage)
Adds Error Status to session StatusBar variable.
So at the and, framework is these files
function FillPageBuffer()
fill buffer lsPageBuffer, where will be pages list
Form class can generate form with some functions like be center on page as normal window.
function Form($isCssId,  
$isAction,  
$isModule,  
$isHeader =  '',
$ibPanel =  true)
Creats Form with POST method for editing and sending data to server.
Library for work with forms and status.
$GLOBALS['FormsReg']
This is array when first form was be generated.