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)  

snapcheck.php File Reference

Go to the source code of this file.

Namespaces

 FOGProject
 

Variables

 try
 
if(!FOGCore::$Host->isValid()) $SnapinJob
 
if(! $SnapinJob->isValid()) $snapinids
 
if(isset($_REQUEST['getSnapnames'])) elseif(isset($_REQUEST['getSnapargs'])) else
 
catch(Exception $e) exit
 

Variable Documentation

◆ $snapinids

if (! $SnapinJob->isValid()) $snapinids
Initial value:
'SnapinTask',
array(
'stateID' => $FOGCore->getQUeuedStates(),
'jobID' => $SnapinJob->get('id')
),
'snapinID'
)

Definition at line 33 of file snapcheck.php.

◆ $SnapinJob

◆ else

if (isset( $_REQUEST[ 'getSnapnames'])) elseif (isset( $_REQUEST[ 'getSnapargs'])) else
Initial value:
{
$snapins = (
FOGCore::getClass('SnapinTaskManager')
->count(
array(
'stateID' => FOGCore::getQueuedStates(),
'jobID' => $SnapinJob->get('id')
)
) ?
1 :
0
)

Definition at line 53 of file snapcheck.php.

◆ exit

catch (Exception $e) exit

Definition at line 70 of file snapcheck.php.

◆ try

try
Initial value:

Definition at line 23 of file snapcheck.php.

FOGBase\getClass
static getClass($class, $data='', $props=false)
Definition: fogbase.class.php:439
$SnapinJob
if(!FOGCore::$Host->isValid()) $SnapinJob
Definition: snapcheck.php:28
FOGBase\getQueuedStates
static getQueuedStates()
Definition: fogbase.class.php:2106
FOGController\get
get($key='')
Definition: fogcontroller.class.php:207
FOGBase\getHostItem
static getHostItem( $service=true, $encoded=false, $hostnotrequired=false, $returnmacs=false, $override=false, $mac=false)
Definition: fogbase.class.php:503
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
FOGBase\$Host
static $Host
Definition: fogbase.class.php:312