fogproject  1.5.9
About: FOG is a Linux-based network computer cloning solution for Windows, Mac OSX and various Linux distributions that ties together a few open-source tools with a PHP-based web interface. FOG doesn’t use any boot disks, or CDs; everything is done via TFTP and PXE.
  Fossies Dox: fogproject-1.5.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

grouplisting.php File Reference

Go to the source code of this file.

Namespaces

 FOGProject
 

Variables

 try
 
if($groupCount< 1) $groupids = FOGCore::getSubObjectIDs('Group')
 
 $groupnames
 
foreach((array) $groupids as $index=> $groupid) catch(Exception $e) exit
 

Variable Documentation

◆ $groupids

◆ $groupnames

$groupnames
Initial value:
'Group',
array('id' => $groupids),
'name'
)

Definition at line 32 of file grouplisting.php.

◆ exit

foreach ((array) $groupids as $index=> $groupid) catch (Exception $e) exit

Definition at line 52 of file grouplisting.php.

◆ try

try
Initial value:
{
$groupCount = FOGCore::getClass('GroupManager')
->count()

Definition at line 23 of file grouplisting.php.

FOGBase\getClass
static getClass($class, $data='', $props=false)
Definition: fogbase.class.php:439
$groupids
if($groupCount< 1) $groupids
Definition: grouplisting.php:31
FOGBase\getSubObjectIDs
static getSubObjectIDs( $object='Host', $findWhere=array(), $getField='id', $not=false, $operator='AND', $orderBy='name', $groupBy=false, $filter='array_unique')
Definition: fogbase.class.php:2006