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)  

printerlisting.php File Reference

Go to the source code of this file.

Namespaces

 FOGProject
 

Variables

 try
 
 if ( $printerCount< 1)
 
 $printerids = FOGCore::getSubObjectIDs('Printer')
 
 $printernames
 
foreach((array) $printerids as $index=> $printerid) catch(Exception $e) exit
 

Variable Documentation

◆ $printerids

Definition at line 30 of file printerlisting.php.

◆ $printernames

$printernames
Initial value:
'Printer',
array('id' => $printerids),
'name'
)

Definition at line 31 of file printerlisting.php.

◆ exit

foreach ((array) $printerids as $index=> $printerid) catch (Exception $e) exit

Definition at line 50 of file printerlisting.php.

◆ if

if($printerCount< 1)

Definition at line 26 of file printerlisting.php.

◆ try

try
Initial value:
{
$printerCount = FOGCore::getClass('PrinterManager')
->count()

Definition at line 23 of file printerlisting.php.

FOGBase\getClass
static getClass($class, $data='', $props=false)
Definition: fogbase.class.php:439
$printerids
$printerids
Definition: printerlisting.php:30
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