[ Index ]

PHP Cross Reference of Mambo 4.6.5

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

title

Body

[close]

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

(no description)

File Size: 703 lines (23 kb)
Included or required: 2 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mosAdminMenus:: (27 methods):
  Ordering()
  Access()
  groupAccess()
  Parent()
  Published()
  Link()
  Target()
  MenuLinks()
  Category()
  Section()
  Component()
  ComponentName()
  Images()
  SpecificOrdering()
  UserSelect()
  Positions()
  ComponentCategory()
  SelectSection()
  Links2Menu()
  MenuSelect()
  ImageCheckAdmin()
  ReadImages()
  GetImageFolders()
  GetImages()
  GetSavedImages()
  menutypes()
  menuItem()

Defines 27 functions


Class: mosAdminMenus  - X-Ref

Common HTML Output Files

Ordering( &$row, $id )   X-Ref
build the select list for Menu Ordering


Access( &$row )   X-Ref
build the select list for access level

param: object a module object
return: mixed a select list

groupAccess( &$row )   X-Ref
build the select list for module group access


Parent( &$row )   X-Ref
build the select list for parent item


Published( &$row )   X-Ref
build a radio button option for published state


Link( &$row, $id, $link=NULL )   X-Ref
build the link/url of a menu item


Target( &$row )   X-Ref
build the select list for target window


MenuLinks( &$lookup, $all=NULL, $none=NULL )   X-Ref
build the multiple select list for Menu Links/Pages


Category( &$menu, $id, $javascript='' )   X-Ref
build the select list to choose a category


Section( &$menu, $id, $all=0 )   X-Ref
build the select list to choose a section


Component( &$menu, $id )   X-Ref
build the select list to choose a component


ComponentName( &$menu, $id )   X-Ref
build the select list to choose a component


Images( $name, &$active, $javascript=NULL, $directory=NULL )   X-Ref
build the select list to choose an image


SpecificOrdering( &$row, $id, $query, $neworder=0 )   X-Ref
build the select list for Ordering of a specified Table


UserSelect( $name, $active, $nouser=0, $javascript=NULL, $order='name' )   X-Ref
Select list of active users


Positions( $name, $active=NULL, $javascript=NULL, $none=1, $center=1, $left=1, $right=1 )   X-Ref
Select list of positions - generally used for location of images


ComponentCategory( $name, $section, $active=NULL, $javascript=NULL, $order='ordering', $size=1, $sel_cat=1 )   X-Ref
Select list of active categories for components


SelectSection( $name, $active=NULL, $javascript=NULL, $order='ordering' )   X-Ref
Select list of active sections


Links2Menu( $type, $_and )   X-Ref
Select list of menu items for a specific menu


MenuSelect( $name='menuselect', $javascript=NULL )   X-Ref
Select list of menus


ImageCheckAdmin( $file, $directory='/administrator/images/', $param=NULL, $param_directory='/administrator/images/', $alt=NULL, $name=NULL, $type=1, $align='middle' )   X-Ref
Checks to see if an image exists in the current templates image directory
if it does it loads this image.  Otherwise the default image is loaded.
Also can be used in conjunction with the menulist param to create the chosen image
load the default or use no image


ReadImages( $imagePath, $folderPath, &$folders, &$images )   X-Ref
Internal function to recursive scan the media manager directories

param: string Path to scan
param: string root path of this folder
param: array  Value array of all existing folders
param: array  Value array of all existing images

GetImageFolders( &$folders, $path )   X-Ref
No description

GetImages( &$images, $path )   X-Ref
No description

GetSavedImages( &$row, $path )   X-Ref
No description

menutypes()   X-Ref
No description

menuItem( $item )   X-Ref
No description

Functions that are not part of a class:

mosTreeRecurse( $id, $indent, $list, &$children, $maxlevel=9999, $level=0, $type=1,$parent='parent')   X-Ref

author: Mambo Foundation Inc see README.php

mosGetOrderingList( $sql, $chop='30' )   X-Ref

param: string SQL with ordering As value and 'name field' AS text
param: integer The length of the truncated headline