Class mosAdminMenus

Description

Common HTML Output Files

Located in /administrator/includes/mosAdminMenus.php (line 63)


	
			
Method Summary
 mixed Access (object a &$row)
 void Category ( &$menu,  $id, [ $javascript = ''])
 void Component ( &$menu,  $id)
 void ComponentCategory ( $name,  $section, [ $active = NULL], [ $javascript = NULL], [ $order = 'ordering'], [ $size = 1], [ $sel_cat = 1])
 void ComponentName ( &$menu,  $id)
 void GetImageFolders ( &$folders,  $path)
 void GetImages ( &$images,  $path)
 void GetSavedImages ( &$row,  $path)
 void groupAccess ( &$row)
 void ImageCheckAdmin ( $file, [ $directory = '/administrator/images/'], [ $param = NULL], [ $param_directory = '/administrator/images/'], [ $alt = NULL], [ $name = NULL], [ $type = 1], [ $align = 'middle'])
 void Images ( $name,  &$active, [ $javascript = NULL], [ $directory = NULL])
 void Link ( &$row,  $id, [ $link = NULL])
 void Links2Menu ( $type,  $_and)
 void menuItem ( $item)
 void MenuLinks ( &$lookup, [ $all = NULL], [ $none = NULL])
 void MenuSelect ([ $name = 'menuselect'], [ $javascript = NULL])
 void menutypes ()
 void Ordering ( &$row,  $id)
 void Parent ( &$row)
 void Positions ( $name, [ $active = NULL], [ $javascript = NULL], [ $none = 1], [ $center = 1], [ $left = 1], [ $right = 1])
 void Published ( &$row)
 void ReadImages (string $imagePath, string $folderPath, array &$folders, array &$images)
 void Section ( &$menu,  $id, [ $all = 0])
 void SelectSection ( $name, [ $active = NULL], [ $javascript = NULL], [ $order = 'ordering'])
 void SpecificOrdering ( &$row,  $id,  $query, [ $neworder = 0])
 void Target ( &$row)
 void UserSelect ( $name,  $active, [ $nouser = 0], [ $javascript = NULL], [ $order = 'name'])
Methods
Access (line 91)

build the select list for access level

  • return: a select list
mixed Access (object a &$row)
  • object a &$row: module object
Category (line 290)

build the select list to choose a category

void Category ( &$menu,  $id, [ $javascript = ''])
  • &$menu
  • $id
  • $javascript
Component (line 354)

build the select list to choose a component

void Component ( &$menu,  $id)
  • &$menu
  • $id
ComponentCategory (line 497)

Select list of active categories for components

void ComponentCategory ( $name,  $section, [ $active = NULL], [ $javascript = NULL], [ $order = 'ordering'], [ $size = 1], [ $sel_cat = 1])
  • $name
  • $section
  • $active
  • $javascript
  • $order
  • $size
  • $sel_cat
ComponentName (line 381)

build the select list to choose a component

void ComponentName ( &$menu,  $id)
  • &$menu
  • $id
GetImageFolders (line 629)
void GetImageFolders ( &$folders,  $path)
  • &$folders
  • $path
GetImages (line 635)
void GetImages ( &$images,  $path)
  • &$images
  • $path
GetSavedImages (line 644)
void GetSavedImages ( &$row,  $path)
  • &$row
  • $path
groupAccess (line 104)

build the select list for module group access

void groupAccess ( &$row)
  • &$row
ImageCheckAdmin (line 586)

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

void ImageCheckAdmin ( $file, [ $directory = '/administrator/images/'], [ $param = NULL], [ $param_directory = '/administrator/images/'], [ $alt = NULL], [ $name = NULL], [ $type = 1], [ $align = 'middle'])
  • $file
  • $directory
  • $param
  • $param_directory
  • $alt
  • $name
  • $type
  • $align
Images (line 405)

build the select list to choose an image

void Images ( $name,  &$active, [ $javascript = NULL], [ $directory = NULL])
  • $name
  • &$active
  • $javascript
  • $directory
Link (line 190)

build the link/url of a menu item

void Link ( &$row,  $id, [ $link = NULL])
  • &$row
  • $id
  • $link
Links2Menu (line 539)

Select list of menu items for a specific menu

void Links2Menu ( $type,  $_and)
  • $type
  • $_and
menuItem (line 682)
void menuItem ( $item)
  • $item
MenuLinks (line 217)

build the multiple select list for Menu Links/Pages

void MenuLinks ( &$lookup, [ $all = NULL], [ $none = NULL])
  • &$lookup
  • $all
  • $none
MenuSelect (line 557)

Select list of menus

void MenuSelect ([ $name = 'menuselect'], [ $javascript = NULL])
  • $name
  • $javascript
menutypes (line 658)
void menutypes ()
Ordering (line 67)

build the select list for Menu Ordering

void Ordering ( &$row,  $id)
  • &$row
  • $id
Parent (line 131)

build the select list for parent item

void Parent ( &$row)
  • &$row
Positions (line 475)

Select list of positions - generally used for location of images

void Positions ( $name, [ $active = NULL], [ $javascript = NULL], [ $none = 1], [ $center = 1], [ $left = 1], [ $right = 1])
  • $name
  • $active
  • $javascript
  • $none
  • $center
  • $left
  • $right
Published (line 182)

build a radio button option for published state

void Published ( &$row)
  • &$row
ReadImages (line 609)

Internal function to recursive scan the media manager directories

void ReadImages (string $imagePath, string $folderPath, array &$folders, array &$images)
  • string $imagePath: Path to scan
  • string $folderPath: root path of this folder
  • array &$folders: Value array of all existing folders
  • array &$images: Value array of all existing images
Section (line 320)

build the select list to choose a section

void Section ( &$menu,  $id, [ $all = 0])
  • &$menu
  • $id
  • $all
SelectSection (line 518)

Select list of active sections

void SelectSection ( $name, [ $active = NULL], [ $javascript = NULL], [ $order = 'ordering'])
  • $name
  • $active
  • $javascript
  • $order
SpecificOrdering (line 430)

build the select list for Ordering of a specified Table

void SpecificOrdering ( &$row,  $id,  $query, [ $neworder = 0])
  • &$row
  • $id
  • $query
  • $neworder
Target (line 206)

build the select list for target window

void Target ( &$row)
  • &$row
UserSelect (line 451)

Select list of active users

void UserSelect ( $name,  $active, [ $nouser = 0], [ $javascript = NULL], [ $order = 'name'])
  • $name
  • $active
  • $nouser
  • $javascript
  • $order

Documentation generated on Mon, 05 May 2008 16:21:27 +0400 by phpDocumentor 1.4.0