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)  

locationlisting.php File Reference

Go to the source code of this file.

Namespaces

 FOGProject
 

Variables

 try
 
if($locationCount< 0) $locationids = FOGCore::getSubObjectIDs('Location')
 
 $locationnames
 
foreach((array) $locationids as $index=> $locationid) catch(Exception $e) exit
 

Variable Documentation

◆ $locationids

if ( $locationCount< 0) $locationids = FOGCore::getSubObjectIDs('Location')

Definition at line 31 of file locationlisting.php.

◆ $locationnames

$locationnames
Initial value:
'Location',
array('id' => $locationids),
'name'
)

Definition at line 32 of file locationlisting.php.

◆ exit

foreach ((array) $locationids as $index=> $locationid) catch (Exception $e) exit

Definition at line 52 of file locationlisting.php.

◆ try

try
Initial value:
{
$locationCount = FOGCore::getClass('LocationManager')
->count()

Definition at line 23 of file locationlisting.php.

FOGBase\getClass
static getClass($class, $data='', $props=false)
Definition: fogbase.class.php:439
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
$locationids
if($locationCount< 0) $locationids
Definition: locationlisting.php:31