[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/includes/ -> admin.php (summary)

(no description)

Author: Mambo Foundation Inc see README.php
Copyright: (C) 2000 - 2009 Mambo Foundation Inc.
License: GNU/GPL Version 2, see LICENSE.php
File Size: 723 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 6 classes

mosBasicXML:: (8 methods):
  mosBasicXML()
  setTree()
  start_element()
  end_element()
  character_data()
  element_mosinstall()
  getType()
  getErrors()

mosXMLDescription:: (9 methods):
  getDescription()
  getName()
  getGroup()
  getCreationDate()
  getAuthor()
  getCopyright()
  getAuthorEmail()
  getAuthorUrl()
  getVersion()

mosXMLParams:: (9 methods):
  element_params()
  element_param()
  element_option()
  end_element_option()
  end_element_param()
  end_element_params()
  _form_mos_section()
  _form_mos_category()
  _form_mos_menu()

mosAdminParameters:: (1 method):
  mosAdminParameters()

mosSpecialAdminParameters:: (1 method):
  mosSpecialAdminParameters()

basicAdminHTML:: (25 methods):
  basicAdminHTML()
  tickBox()
  yesNoList()
  inputTop()
  blankRow()
  fileInputBox()
  fileInputArea()
  tickBoxField()
  simpleTickBox()
  formStart()
  listHeadingStart()
  headingItem()
  commonScripts()
  submitbutton()
  listFormEnd()
  editFormEnd()
  multiOptionList()
  tooltip()
  mosCountAdminModules()
  mosLoadAdminModules()
  mosLoadAdminModule()
  mosLoadCustomModule()
  mosShowSource()
  mosIsChmodable()
  mosMakePath()


Class: mosBasicXML  - X-Ref

Basic XML parsing of installation files

mosBasicXML($file, $mosParameter=null, $name='params')   X-Ref
No description

setTree()   X-Ref
No description

start_element($parser, $element_name, $element_attrs)   X-Ref
No description

end_element($parser, $element_name)   X-Ref
No description

character_data($parser, $data)   X-Ref
No description

element_mosinstall($attrs)   X-Ref
No description

getType()   X-Ref
No description

getErrors()   X-Ref
No description

Class: mosXMLDescription  - X-Ref

Extend basic parser to extract the description for a type of install file

getDescription($type)   X-Ref
No description

getName($type)   X-Ref
No description

getGroup($type)   X-Ref
No description

getCreationDate($type)   X-Ref
No description

getAuthor($type)   X-Ref
No description

getCopyright($type)   X-Ref
No description

getAuthorEmail($type)   X-Ref
No description

getAuthorUrl($type)   X-Ref
No description

getVersion($type)   X-Ref
No description

Class: mosXMLParams  - X-Ref

element_params($attrs)   X-Ref
No description

element_param($attrs)   X-Ref
No description

element_option($attrs)   X-Ref
No description

end_element_option()   X-Ref
No description

end_element_param()   X-Ref
No description

end_element_params()   X-Ref
No description

_form_mos_section( $name, $value, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_mos_category( $name, $value, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

_form_mos_menu( $name, $value, $control_name )   X-Ref

param: string The name of the form element
param: string The value of the element
param: object The xml element for the parameter
param: string The control name
return: string The html for the element

Class: mosAdminParameters  - X-Ref

Parameters handler

mosAdminParameters( $text, $path='', $type='component' )   X-Ref
Constructor

param: string The raw parms text
param: string Path to the xml setup file

Class: mosSpecialAdminParameters  - X-Ref

Generally available parameter object

mosSpecialAdminParameters($name, $version='')   X-Ref
No description

Class: basicAdminHTML  - X-Ref

Useful HTML class for admin side components

basicAdminHTML(&$controller, $limit)   X-Ref
No description

tickBox($object, $property)   X-Ref
No description

yesNoList($object, $property)   X-Ref
No description

inputTop($title, $redstar=false, $maxsize=0)   X-Ref
No description

blankRow()   X-Ref
No description

fileInputBox($title, $name, $value, $width, $tooltip=null)   X-Ref
No description

fileInputArea($title, $maxsize, $name, $value, $rows, $cols, $editor=false, $tooltip=null)   X-Ref
No description

tickBoxField($object, $property, $title)   X-Ref
No description

simpleTickBox($title, $name, $checked=false)   X-Ref
No description

formStart($title, $imagepath)   X-Ref
No description

listHeadingStart($count)   X-Ref
No description

headingItem($width, $title, $colspan=1)   X-Ref
No description

commonScripts($edit_fields)   X-Ref
No description

submitbutton(pressbutton)   X-Ref
No description

listFormEnd($pagecontrol=true)   X-Ref
No description

editFormEnd($id)   X-Ref
No description

multiOptionList($name, $title, $options, $current, $tooltip=null)   X-Ref
No description

tooltip($text)   X-Ref
No description

mosCountAdminModules( $position='left' )   X-Ref

param: string THe template position

mosLoadAdminModules( $position='left', $style=0 )   X-Ref
Loads admin modules via module position

param: string The position
param: int 0 = no style, 1 = tabbed

mosLoadAdminModule( $name, $params=NULL )   X-Ref
Loads an admin module


mosLoadCustomModule( &$module, &$params )   X-Ref
No description

mosShowSource( $filename, $withLineNums=false )   X-Ref
No description

mosIsChmodable($file)   X-Ref
No description

mosMakePath($base, $path='', $mode = NULL)   X-Ref

param: string An existing base path
param: string A path to create from the base path
param: int Directory permissions
return: boolean True if successful