Function 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
 Add, Container
 Add_Column, View
 Add_InputColumn, View
 add_item
 add_separator, Menu
 add_view
 Administration
 AnimateDown
 AnimateUp
B
 BSD Licence
 Button, Button
 ButtonClose, ButtonClose
 ButtonLink, ButtonLink
 ButtonOk, ButtonOk
 ButtonOkNew, ButtonOkNew
 ButtonUndo, ButtonUndo
C
 cell_image
 cell_time2Human
 Center
 CenterObject
 ChangeVisibility
 CheckRights
 CheckSession, UserView
 Close
 CloseHeight
 code conventions
 ComboName2Id
 ComboSelect
 create_colHeader
 create_tree_index, Tree
D
 db_count_select, SQLView
 DB2Time
 DbgStatus
E
 EditSplashs
 End, Form
 EntityViewFce
 ErrStatus
F
 Files
 FillPageBuffer, View
 Form, Form
G
 Generate
 Generate_submenu, Menu
 Generate_table, View
 GenerateFilter, UserView
 get_last_item
 Get_Paging, View
 Get_Paging_Back, View
 Get_Paging_Next, View
 Get_Paging_Pages, View
 get_submenu_of, Menu
 GetGETParams, UserView
 GetLeftFromDocument
 GetOrderInput, UserView
 GetPOSTParams, UserView
 GetSelectInput
 GetSessionParams, UserView
function _($isText)
Simple hack when php has no gettext support
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
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.
function Button($isName,  
$isLabel =  'Button',
$isType =  'button')
Class constructor
function ButtonClose($isLabel,
$isFormCssId)
function ButtonLink($isLabel,
$isLink)
function ButtonOk($isLabel)
function ButtonOkNew($isLabel,
$isFormCssId)
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.
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
function Form($isCssId,  
$isAction,  
$isModule,  
$isHeader =  '',
$ibPanel =  true)
Creats Form with POST method for editing and sending data to server.
function Generate()
Returns button tag.
function Generate()
Returns a tag.
function Generate()
Generates html code of all included objects
function Generate($isFormBody)
Returns full xhtml form with Header isFormBody and End.
function Generate()
All gui objects generates their html code.
function Generate($isCssID = "MainMenuBar")
returns xhtml code of menu.
function Generate($isType =  '',
$isPaging =  'both')
Returns xhtml code of view
function Generate_submenu($iaMenu,  
$isRootMenu,  
$isCssID =  'MainMenu')
Returns xhtml code of submenu
function Generate_table()
Returns buffer with xhtml code of view based on table
function GenerateFilter($isAction =  '',
$isModule =  '',
$isHeader =  '',
$ibPanel =  false)
Generates filter and returns its xhtml code from lrParams attributes via Form class.
function get_last_item($tree)
Overwriting of Tree.get_last_item.
function get_last_item($tree)
return last item from branch
function Get_Paging()
Returns full xhtml control panel
function Get_Paging_Back()
Returns xhtml element for page backwards
function Get_Paging_Next()
Returns xhtml element for page forwards
function Get_Paging_Pages()
Returns lsPageBuffer when it should be
function get_submenu_of($isRootMenu =  '')
returns array of submenu
function GetGETParams()
read values, which can be set via GET method
function GetLeftFromDocument(DomObject)
returns real left offset from left side, without regard to his position in html tree
function GetOrderInput()
Returns options tags from ViewConfigParams.laOrderBy
function GetPOSTParams()
read values, which can be set via POST method
function GetSelectInput($iaOptions,
$irId)
function GetSessionParams()
read values, which was be save to session of lrView