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)  

FOGBase Class Reference
Inheritance diagram for FOGBase:
[legend]

Public Member Functions

 __construct ()
 
 __toString ()
 
 orderBy (&$orderBy)
 

Static Public Member Functions

static getClass ($class, $data='', $props=false)
 
static getHostItem ( $service=true, $encoded=false, $hostnotrequired=false, $returnmacs=false, $override=false, $mac=false)
 
static getAllBlamedNodes ($Host)
 
static niceDate ($date='now', $utc=false)
 
static formatTime ($time, $format=false, $utc=false)
 
static createSecToken ()
 
static aesencrypt ( $data, $key=false, $enctype='aes-256-cbc')
 
static aesdecrypt ( $encdata, $key=false, $enctype='aes-128-cbc')
 
static parseMacList ( $stringlist, $image=false, $client=false)
 
static getSubObjectIDs ( $object='Host', $findWhere=array(), $getField='id', $not=false, $operator='AND', $orderBy='name', $groupBy=false, $filter='array_unique')
 
static getSetting ($key)
 
static setSetting ($key, $value)
 
static getQueuedStates ()
 
static getQueuedState ()
 
static getCheckedInState ()
 
static getProgressState ()
 
static getCompleteState ()
 
static getCancelledState ()
 
static stringBetween ($string, $start, $end)
 
static stripAndDecode (&$item)
 
static getMasterInterface ($ip_find)
 
static lasterror ()
 
static getFilesize ($path)
 
static wakeUp ($macs)
 
static fastmerge ($array1)
 
static getHash ($file)
 
static attemptLogin ($username, $password)
 
static clearMACLookupTable ()
 
static getMACLookupCount ()
 
static resolveHostname ($host)
 
static getBroadcast ()
 
static randWait ()
 

Static Public Attributes

static $locale = ''
 
static $fogpingactive = false
 
static $fogdeleteactive = false
 
static $fogexportactive = false
 
static $pendingMACs = 0
 
static $pendingHosts = 0
 
static $defaultscreen = ''
 
static $pluginsinstalled = array()
 
static $useragent
 
static $foglang
 
static $ajax = false
 
static $post = false
 
static $service = false
 
static $json = false
 
static $newService = false
 
static $scriptname
 
static $querystring
 
static $httpreqwith
 
static $reqmethod
 
static $remoteaddr
 
static $httpreferer
 
static $mySchema = 0
 
static $showhtml = true
 
static $httpproto = false
 
static $httphost = ''
 
static $Host = null
 

Protected Member Functions

 isLoaded ($key)
 
 setRequest ()
 
 sendData ( $datatosend, $service=true, $array=array())
 

Static Protected Member Functions

static getActivePlugins ()
 
static fatalError ($txt, $data=array())
 
static error ($txt, $data=array())
 
static debug ($txt, $data=array())
 
static info ($txt, $data=array())
 
static setMessage ($txt, $data=array())
 
static getMessages ()
 
static redirect ($url='')
 
static arrayInsertBefore ( $key, array &$array, $new_key, $new_value)
 
static arrayInsertAfter ( $key, array &$array, $new_key, $new_value)
 
static arrayRemove ($key, array &$array)
 
static arrayFind ( $needle, array $haystack, $ignorecase=false)
 
static resetRequest ()
 
static formatByteSize ($size)
 
static getGlobalModuleStatus ($names=false, $keys=false)
 
static validDate ($date, $format='')
 
static pluralize ($count, $text, $space=false)
 
static diff ($start, $end, $ago=false)
 
static humanify ($diff, $unit)
 
static arrayChangeKey (array &$array, $old_key, $new_key)
 
static byteconvert ($kilobytes)
 
static hex2bin ($hex)
 
static certEncrypt ($data)
 
static certDecrypt ($dataArr, $padding=true)
 
static arrayStrpos ($haystack, $needles, $case=true)
 
static log ( $txt, $curlog, $logfile, $logbrow, $obj, $level=1)
 
static logHistory ($string)
 
static getIPAddress ($force=false)
 

Protected Attributes

 $isLoaded = array()
 

Static Protected Attributes

static $strlen
 
static $debug = false
 
static $info = false
 
static $buildSelectBox
 
static $selected
 
static $DB
 
static $FOGFTP
 
static $FOGCore
 
static $EventManager
 
static $HookManager
 
static $TimeZone
 
static $FOGUser
 
static $FOGPageManager
 
static $FOGURLRequests
 
static $FOGSubMenu
 
static $ips = array()
 
static $interface = array()
 
static $searchPages
 

Static Private Member Functions

static _init ()
 
static _getUserAgent ()
 
static _setString ($txt, $data=array())
 

Static Private Attributes

static $_initialized = false
 

Detailed Description

Definition at line 24 of file fogbase.class.php.

Constructor & Destructor Documentation

◆ __construct()

FOGBase::__construct ( )

Initiates the base class for FOG.

Returns
this

Reimplemented in TaskScheduler, SnapinReplicator, SnapinHash, PingHosts, MulticastManager, ImageSize, ImageReplicator, FOGService, Route, TaskingElement, Blame, AddWOLMenuItem, AddWOLBroadcastType, AddWOLBroadcastAPI, AddBroadcastAddresses, ChangeHostKey, AddWindowsKeyMenuItem, AddWindowsKeyImage, AddWindowskeyAPI, AddTaskTypeType, AddTasktypeeditMenuItem, AddTaskStateType, AddTaskstateeditMenuItem, RemoveSubnetgroupGroup, AddSubnetGroupType, AddSubnetgroupMenuItem, AddSubnetgroupHost, AddSubnetGroupAPI, RemoveSlackItem, AddSlackMenuItem, SnapinTaskComplete_Slack, SnapinComplete_Slack, LoginFailure_Slack, ImageFail_Slack, ImageComplete_Slack, AddSiteUser, AddSiteType, AddSiteMenuItem, AddSiteHost, AddSiteGroup, AddSiteFilterSearch, AddSiteAPI, AddPushbulletMenuItem, SnapinTaskComplete_PushBullet, SnapinComplete_PushBullet, LoginFailure_PushBullet, ImageFail_PushBullet, ImageComplete_PushBullet, PushbulletExtends, ChangeItems, AddServiceConfiguration, AddLocationType, AddLocationTasks, AddLocationMenuItem, AddLocationHost, AddLocationGroup, AddLocationAPI, LDAPPluginHook, AddLDAPType, AddLDAPMenuItem, AddLDAPAPI, AddHostStatusHost, AddFileIntegrityType, AddFileIntegrityMenuItem, AddFileintegrityAPI, CaponeTasking, AddCaponeAPI, AddBootMenuItem, DelAccessControlMenuItem, AddAccessControlUser, AddAccessControlType, AddAccessControlMenuItem, AddAccessControlAPI, AccessControlIndexDiv, Template, SubMenuData, SetSnapinTaskState, RemoveIPAddressColumn, MainMenuData, LogViewerHook, HostVNCLink, HookDebugger, ChangeTableHeader, ChangeHostname, BootTask, BootItem, AddHostSerial, AddHostModel, ReportMaker, Page, LoadGlobals, FOGPageManager, FOGManagerController, Event, BootMenu, HostList, and MySQL.

Definition at line 403 of file fogbase.class.php.

References _getUserAgent(), and _init().

Member Function Documentation

◆ __toString()

FOGBase::__toString ( )

Defines string as class name.

Returns
string

Reimplemented in MACAddress, FOGPage, and FOGController.

Definition at line 424 of file fogbase.class.php.

Referenced by BootMenu\_ipxeLog(), and FOGGetSet\get().

◆ _getUserAgent()

static FOGBase::_getUserAgent ( )
staticprivate

Return the user agent.

Returns
string

Definition at line 415 of file fogbase.class.php.

Referenced by __construct().

◆ _init()

static FOGBase::_init ( )
staticprivate

Initializes the FOG System if needed.

Returns
void

Set proto and host.

Reimplemented in LoadGlobals.

Definition at line 318 of file fogbase.class.php.

References $DB, $EventManager, $FOGCore, $FOGFTP, $foglang, $foglang, $FOGPageManager, $FOGPageManager, $FOGURLRequests, $HookManager, and $TimeZone.

Referenced by __construct().

◆ _setString()

static FOGBase::_setString (   $txt,
  $data = array() 
)
staticprivate

Converts our string if needed.

Parameters
string$txtthe string to use
array$datathe data if txt is formatted string
Returns
string

Definition at line 682 of file fogbase.class.php.

References $data.

Referenced by debug(), error(), fatalError(), info(), and setMessage().

◆ aesdecrypt()

static FOGBase::aesdecrypt (   $encdata,
  $key = false,
  $enctype = 'aes-128-cbc' 
)
static

AES Decrypt function.

Parameters
mixed$encdatathe item to decrypt
string$keythe key to use
int$enctypethe type of encryption to use
int$modethe mode of encryption
Returns
string

Definition at line 1536 of file fogbase.class.php.

References $data, $file, and exit.

Referenced by LDAP\authLDAP(), Product_Keys\file(), Route\getter(), GroupManagementPage\groupGeneral(), HostManagementPage\hostGeneral(), FOGPage\importPost(), HostnameChanger\json(), and WindowsKeyManagementPage\windowsKeyGeneral().

◆ aesencrypt()

static FOGBase::aesencrypt (   $data,
  $key = false,
  $enctype = 'aes-256-cbc' 
)
static

AES Encrypt function.

Parameters
mixed$datathe item to encrypt
string$keythe key to use if false will generate own
int$enctypethe type of encryption to use
Returns
string

Definition at line 1469 of file fogbase.class.php.

References $data, exit, and hex2bin().

Referenced by certEncrypt().

◆ arrayChangeKey()

static FOGBase::arrayChangeKey ( array &  $array,
  $old_key,
  $new_key 
)
staticprotected

Changes the keys around as needed.

Parameters
array$arraythe array to change key for
string$old_keythe original key
string$new_keythe key to change to
Exceptions
Exception
Returns
void

Definition at line 1378 of file fogbase.class.php.

References Initiator\sanitizeItems().

Referenced by MulticastSessionManager\cancel(), and FOGController\setQuery().

◆ arrayFind()

static FOGBase::arrayFind (   $needle,
array  $haystack,
  $ignorecase = false 
)
staticprotected

Find the key of a needle within the haystack that is an array.

Parameters
mixed$needlethe needle to find
array$haystackthe array to search in
bool | mixed$ignorecasewhether to care about case
Returns
key or false

Definition at line 943 of file fogbase.class.php.

◆ arrayInsertAfter()

◆ arrayInsertBefore()

static FOGBase::arrayInsertBefore (   $key,
array &  $array,
  $new_key,
  $new_value 
)
staticprotected

Insert before key in array.

Parameters
string$keythe key to insert before
array$arraythe array to modify
string$new_keythe new key to insert
mixed$new_valuethe value to insert
Exceptions
Exception
Returns
void

Definition at line 855 of file fogbase.class.php.

◆ arrayRemove()

static FOGBase::arrayRemove (   $key,
array &  $array 
)
staticprotected

Remove value based on the key from array.

Parameters
string | array$keythe key to remove
array$arraythe array to work with
Exceptions
Exception
Returns
void

Definition at line 913 of file fogbase.class.php.

Referenced by FOGPage\export(), FOGPage\importPost(), FOGController\save(), and FOGManagerController\search().

◆ arrayStrpos()

static FOGBase::arrayStrpos (   $haystack,
  $needles,
  $case = true 
)
staticprotected

Checks if an array of needles is found in the main array.

Parameters
array$haystackthe array to search
array$needlesthe items to test for
bool$casewhether to be case insensitive
Returns
bool

Definition at line 1876 of file fogbase.class.php.

◆ attemptLogin()

static FOGBase::attemptLogin (   $username,
  $password 
)
static

Attempts to login

Parameters
string$usernamethe username to attempt
string$passwordthe password to attempt
Returns
object

Definition at line 2465 of file fogbase.class.php.

References $password, $username, and getClass().

Referenced by ProcessLogin\processMainLogin(), and BootMenu\verifyCreds().

◆ byteconvert()

static FOGBase::byteconvert (   $kilobytes)
staticprotected

Converts to bits.

Parameters
int | float$kilobytesthe bytes to convert
Returns
float

Definition at line 1413 of file fogbase.class.php.

Referenced by FOGService\replicateItems().

◆ certDecrypt()

static FOGBase::certDecrypt (   $dataArr,
  $padding = true 
)
staticprotected

Decrypts the information passed.

Parameters
mixed$dataArrthe data to decrypt
bool$paddingto use padding or not
Exceptions
Exception
Returns
mixed

Definition at line 1616 of file fogbase.class.php.

References $data, $output, $path, $test, getSubObjectIDs(), and hex2bin().

◆ certEncrypt()

static FOGBase::certEncrypt (   $data)
staticprotected

Encrypts the data using the host information. Really just an alias to aesencrypt for now.

Parameters
mixed$datathe data to encrypt
Exceptions
Exception
Returns
string

Definition at line 1596 of file fogbase.class.php.

References $data, $Host, and aesencrypt().

◆ clearMACLookupTable()

static FOGBase::clearMACLookupTable ( )
static

Clears the mac lookup table

Returns
bool

Definition at line 2475 of file fogbase.class.php.

References getClass().

Referenced by FOGConfigurationPage\maclistPost().

◆ createSecToken()

static FOGBase::createSecToken ( )
static

Create security token.

Returns
string

Definition at line 1445 of file fogbase.class.php.

Referenced by UserManagementPage\addPost(), and Initiator\csrfGenToken().

◆ debug()

static FOGBase::debug (   $txt,
  $data = array() 
)
staticprotected

Prints debug.

Parameters
string$txtthe string to use
array$datathe data if txt is formatted string
Returns
void

Definition at line 742 of file fogbase.class.php.

References $data, and _setString().

Referenced by FOGController\add(), MySQL\connect(), FOGController\destroy(), MySQL\fetch(), MySQL\get(), FOGController\isValid(), FOGController\load(), MySQL\query(), FOGController\remove(), FOGPageManager\render(), FOGController\save(), FOGController\set(), and FOGGetSet\set().

◆ diff()

static FOGBase::diff (   $start,
  $end,
  $ago = false 
)
staticprotected

Returns the difference given from a start and end time.

Parameters
mixed$startthe starting date
mixed$endthe ending date
bool$agoReturn immediate highest down
Exceptions
Exception
Returns
DateTime

Definition at line 1247 of file fogbase.class.php.

References $str, niceDate(), and pluralize().

Referenced by Imaging_Log\filePost(), HostManagementPage\hostImageHistory(), and HostManagementPage\hostSnapinHistory().

◆ error()

static FOGBase::error (   $txt,
  $data = array() 
)
staticprotected

Prints error.

Parameters
string$txtthe string to use
array$datathe data if txt is formatted string
Returns
void

Definition at line 721 of file fogbase.class.php.

References $data, and _setString().

Referenced by FOGController\__construct(), Host\getImageMemberFromHostID(), SchemaUpdaterPage\indexPost(), and PDODB\query().

◆ fastmerge()

◆ fatalError()

static FOGBase::fatalError (   $txt,
  $data = array() 
)
staticprotected

Prints fatal errors.

Parameters
string$txtthe string to use
array$datathe data if txt is formatted string
Returns
void

Definition at line 700 of file fogbase.class.php.

References $data, and _setString().

Referenced by TaskManagementPage\forceTask().

◆ formatByteSize()

static FOGBase::formatByteSize (   $size)
staticprotected

Return nicely formatted byte sizes.

Parameters
int | float$sizethe size to convert
Returns
float

Definition at line 1025 of file fogbase.class.php.

Referenced by ImageManagementPage\__construct(), FOGCore\getHWInfo(), Inventory\getMem(), and ServerInfo\index().

◆ formatTime()

static FOGBase::formatTime (   $time,
  $format = false,
  $utc = false 
)
static

Do formatting things.

Parameters
mixed$timeThe time to work from
mixed$formatSpecified format to return
bool$utcUse UTC Timezone?
Returns
mixed

Definition at line 1124 of file fogbase.class.php.

References humanify(), and niceDate().

Referenced by ImageManagementPage\__construct(), FileIntegrity\_getModTime(), FOGController\save(), and Service_Log_message().

◆ getActivePlugins()

static FOGBase::getActivePlugins ( )
staticprotected

Returns array of plugins installed.

Returns
array

Definition at line 661 of file fogbase.class.php.

References getSubObjectIDs().

◆ getAllBlamedNodes()

static FOGBase::getAllBlamedNodes (   $Host)
static

Get's blamed nodes for failures.

Parameters
Host$HostThe host to work with.
Returns
array

Returns the node id if still accurate or will clean up past time nodes.

Parameters
object$NodeFailurethe node that is in failed state
Returns
int|bool

Definition at line 618 of file fogbase.class.php.

References $Host, and niceDate().

◆ getBroadcast()

static FOGBase::getBroadcast ( )
static

Gets the broadcast address of the server

Returns
array

Definition at line 2512 of file fogbase.class.php.

References $output.

◆ getCancelledState()

static FOGBase::getCancelledState ( )
static

◆ getCheckedInState()

static FOGBase::getCheckedInState ( )
static

Get checked in state id.

Returns
int

Reimplemented in TaskState.

Definition at line 2124 of file fogbase.class.php.

References TaskState\getCheckedInState().

◆ getClass()

static FOGBase::getClass (   $class,
  $data = '',
  $props = false 
)
static

Returns the class after verifying reflection of the class.

Parameters
string$classthe name of the class to load
mixed$datathe data to load into the class
bool$propsreturn just properties or full object
Exceptions
Exception
Returns
class Returns the instantiated class

Definition at line 439 of file fogbase.class.php.

Referenced by MACAddress\__construct(), FOGPage\__construct(), GroupManagementPage\__construct(), ReportManagementPage\__construct(), TaskManagementPage\__construct(), AccessControlManagementPage\__construct(), SlackManagementPage\__construct(), BootMenu\__construct(), FOGManagerController\__construct(), PushbulletExtends\__construct(), Blame\__construct(), TaskingElement\__construct(), Host\_cancelJobsSnapinsForHost(), SnapinClient\_closeout(), ImageReplicator\_commonOutput(), ImageSize\_commonOutput(), PingHosts\_commonOutput(), SnapinHash\_commonOutput(), SnapinReplicator\_commonOutput(), TaskScheduler\_commonOutput(), Host\_createSnapinTasking(), Group\_createSnapinTasking(), Host\_createTasking(), Registration\_fullReg(), GroupManagementPage\_getHostCommon(), LoadGlobals\_init(), BootMenu\_ipxeLog(), Registration\_quickReg(), Registration\_quickRegAuto(), TaskManagementPage\_tasking(), Route\_testAuth(), PluginManagementPage\activate(), Route\active(), TaskManagementPage\activemulticastPost(), TaskManagementPage\activePost(), TaskManagementPage\activesnapinsPost(), ImageManagementPage\add(), SnapinManagementPage\add(), LocationManagementPage\add(), SubnetgroupManagementPage\add(), AddBootMenuItem\addBootMenuItem(), Service\addDir(), Group\addImage(), Group\addModule(), GroupManagementPage\addPost(), HostManagementPage\addPost(), ImageManagementPage\addPost(), PrinterManagementPage\addPost(), SnapinManagementPage\addPost(), UserManagementPage\addPost(), AccessControlManagementPage\addPost(), LDAPManagementPage\addPost(), LocationManagementPage\addPost(), PushbulletManagementPage\addPost(), SiteManagementPage\addPost(), SlackManagementPage\addPost(), SubnetgroupManagementPage\addPost(), TaskstateeditManagementPage\addPost(), TasktypeeditManagementPage\addPost(), WindowsKeyManagementPage\addPost(), WOLBroadcastManagementPage\addPost(), Group\addPrinter(), AccessControlManagementPage\addRuleGroup(), AccessControlManagementPage\addRulePost(), Group\addSnapin(), Host\addSnapin(), StorageManagementPage\addStorageGroupPost(), StorageManagementPage\addStorageNodePost(), Service\addUser(), FOGController\assocSetter(), Site\assocSetter(), attemptLogin(), FOGController\buildQuery(), Slack\call(), MulticastSessionManager\cancel(), SnapinJobManager\cancel(), SnapinTaskManager\cancel(), TaskManager\cancel(), MulticastSession\cancel(), Task\cancel(), ChangeHostKey\changeHostProductKey(), BootTask\changeTask(), FOGService\checkIfNodeMaster(), TaskQueue\checkIn(), FOGPage\clearAES(), Host\clearAVRecordsForHost(), clearMACLookupTable(), FOGPage\clearPMTasks(), FOGConfigurationPage\clientupdaterPost(), MulticastSession\complete(), FOGConfigurationPage\config(), FOGConfigurationPage\configPost(), Route\create(), Host\createImagePackage(), Group\createImagePackage(), FOGConfigurationPage\customizepxePost(), Route\deletemass(), FOGPage\deletemultiAjax(), AccessControlManagementPage\deletemultiRuleAjax(), FOGPage\deletePost(), AccessControlManagementPage\deleteRulePost(), StorageManagementPage\deleteStorageGroupPost(), StorageManagementPage\deleteStorageNodePost(), FOGPage\deploy(), FOGPage\deployPost(), GroupManager\destroy(), HostManager\destroy(), ImageManager\destroy(), PluginManager\destroy(), PrinterManager\destroy(), SnapinManager\destroy(), LocationManager\destroy(), WindowsKeyManager\destroy(), Group\destroy(), Host\destroy(), Image\destroy(), Module\destroy(), Printer\destroy(), Snapin\destroy(), Location\destroy(), WindowsKey\destroy(), Group\doMembersHaveUniformImages(), Route\edit(), HostManagementPage\edit(), ServiceConfigurationPage\edit(), LocationManagementPage\edit(), GroupManagementPage\editPost(), HostManagementPage\editPost(), ImageManagementPage\editPost(), ServiceConfigurationPage\editPost(), WindowsKeyManagementPage\editPost(), StorageManagementPage\editStorageGroupPost(), StorageManagementPage\editStorageNodePost(), FOGPage\export(), Schema\exportdb(), Pending_MAC_List\file(), Virus_History\file(), Pending_MAC_List\filePost(), FOGManagerController\find(), DashboardPage\get30day(), Host\getActiveTaskCount(), MulticastTask\getAllMulticastTasks(), MulticastTask\getBitrate(), FOGController\getcolumns(), Host\getDefault(), MulticastTask\getHelloInterval(), Group\getHostCount(), getHostItem(), Host\getImageMemberFromHostID(), getMACLookupCount(), FOGPage\getmacman(), FOGConfigurationPage\getOSID(), MulticastTask\getPartitions(), Image\getPrimaryGroup(), Snapin\getPrimaryGroup(), StorageNode\getQueuedSlotCount(), Route\getsearchbody(), getSetting(), FOGPageManager\getSideMenu(), getSubObjectIDs(), FileIntegrity\getThisNode(), StorageNode\getUsedSlotCount(), AddLocationGroup\groupAddLocation(), AddSiteGroup\groupAddSite(), AddSiteFilterSearch\groupData(), AddSiteGroup\groupFields(), GroupManagementPage\groupImage(), GroupManagementPage\groupService(), AddLocationHost\hostAddLocation(), AddSiteHost\hostAddSite(), AddLocationHost\hostData(), AddSiteFilterSearch\hostData(), AddLocationHost\hostDestroy(), AddSiteHost\hostDestroy(), AddLocationHost\hostEmailHook(), AddSiteHost\hostEmailHook(), AddLocationHost\hostExport(), AddSiteHost\hostExport(), AddHostStatusHost\hostFields(), AddLocationHost\hostFields(), AddSiteHost\hostFields(), HostManagementPage\hostGeneral(), AddLocationHost\hostImport(), AddSiteHost\hostImport(), AddLocationHost\hostInfoExpose(), AddSiteHost\hostInfoExpose(), HostManagementPage\hostPMPost(), AddLocationHost\hostRegister(), HostManagementPage\hostService(), Route\ids(), Host\ignore(), AddWindowsKeyImage\imageAddKey(), AddWindowsKeyImage\imageFields(), ImageManagementPage\imageGeneral(), TaskingElement\imageLog(), AddWindowsKeyImage\imageRemove(), FOGPage\importPost(), SchemaUpdaterPage\indexPost(), AccessControlAssociationManager\install(), AccessControlManager\install(), AccessControlRuleManager\install(), CaponeManager\install(), LocationManager\install(), SiteHostAssociationManager\install(), SiteManager\install(), SiteUserAssociationManager\install(), WindowsKeyManager\install(), PluginManagementPage\installedPost(), GroupManagementPage\inventory(), ScheduledTask\isMulticast(), PM\json(), RegisterClient\json(), SnapinClient\json(), UserTrack\json(), Route\listem(), EventManager\load(), logHistory(), FOGConfigurationPage\maclistPost(), AddLocationMenuItem\menuData(), ImageManagementPage\multicastPost(), Route\names(), FOGConfigurationPage\newMenuPost(), EventManager\notify(), ReportMaker\outputReport(), parseMacList(), User\passwordValidate(), HostManagementPage\pendingPost(), BootMenu\printImageList(), FOGPage\process(), HookManager\processEvent(), FOGConfigurationPage\pxemenu(), FOGConfigurationPage\pxemenuPost(), Service\remDir(), Service\remGF(), Group\removeModule(), Group\removeSnapin(), Service\remUser(), FOGPage\requestClientInfo(), PluginManagementPage\run(), Host\save(), Image\save(), Route\search(), GF\send(), SnapinClient\send(), UpdateClient\send(), UserTrack\send(), Group\setAD(), Group\setAlo(), Group\setDisp(), FOGCore\setEnv(), Service\setGreenFog(), Image\setPrimaryGroup(), Snapin\setPrimaryGroup(), FOGController\setQuery(), setSetting(), FOGConfigurationPage\settings(), FOGConfigurationPage\settingsPost(), ImageManagementPage\stop(), ChangeItems\storageNodeSetting(), SubnetgroupManagementPage\subnetgroupGeneral(), SubnetgroupManagementPage\subnetgroupGeneralPost(), TaskingElement\taskLog(), AddLocationTasks\tasksActiveData(), AccessControlAssociationManager\uninstall(), AccessControlManager\uninstall(), AccessControlRuleManager\uninstall(), CaponeManager\uninstall(), LDAPManager\uninstall(), LocationManager\uninstall(), SiteHostAssociationManager\uninstall(), SiteManager\uninstall(), SiteUserAssociationManager\uninstall(), WindowsKeyManager\uninstall(), Printer\updateDefault(), Group\updateDefault(), Host\updateDefault(), AddServiceConfiguration\updateGlobalSetting(), MulticastTask\updateStats(), AddAccessControlUser\userAddAccessControl(), AddSiteUser\userAddSite(), AddAccessControlUser\userFields(), Slack\verifyToken(), and FOGPage\wakeEmUp().

◆ getCompleteState()

static FOGBase::getCompleteState ( )
static

Get complete state id.

Returns
int

Reimplemented in TaskState.

Definition at line 2142 of file fogbase.class.php.

References TaskState\getCompleteState().

Referenced by MulticastManager\_serviceLoop().

◆ getFilesize()

static FOGBase::getFilesize (   $path)
static

Gets the filesize in a non-arch dependent way.

Parameters
string$filethe file to get size of
Returns
string|int|float

Definition at line 2319 of file fogbase.class.php.

References $file, and $path.

Referenced by ImageSize\_commonOutput(), SnapinHash\_commonOutput(), SnapinManagementPage\addPost(), getHash(), FOGPage\kernelfetch(), FOGService\replicateItems(), and SnapinManagementPage\snapinGeneralPost().

◆ getGlobalModuleStatus()

static FOGBase::getGlobalModuleStatus (   $names = false,
  $keys = false 
)
staticprotected

Gets the global module status.

Can return just the shortnames or the long.

Parameters
bool$namesif set will return the services as set
bool$keyswill return just the shortnames if set
Returns
array

Definition at line 1042 of file fogbase.class.php.

References $keys, and getSubObjectIDs().

Referenced by ServiceConfigurationPage\edit(), GroupManagementPage\groupService(), HostManagementPage\hostService(), FOGPage\requestClientInfo(), and ServiceModule\send().

◆ getHash()

static FOGBase::getHash (   $file)
static

Returns hash of passed file.

Parameters
string$fileThe file to get hash of.
Returns
string

Definition at line 2443 of file fogbase.class.php.

References $data, $file, and getFilesize().

Referenced by FOGService\replicateItems().

◆ getHostItem()

static FOGBase::getHostItem (   $service = true,
  $encoded = false,
  $hostnotrequired = false,
  $returnmacs = false,
  $override = false,
  $mac = false 
)
static

Get's the relevant host item.

Parameters
bool$serviceIs this a service request
bool$encodedIs this data encoded
bool$hostnotrequiredIs the host return needed
bool$returnmacsOnly return macs?
bool$overridePerform an override of the items?
bool$macMac Override?
Exceptions
Exception
Returns
array|object Returns either th macs or the host

Definition at line 503 of file fogbase.class.php.

References $foglang, $Host, $mac, $MACs, $msg, $service, getClass(), and parseMacList().

Referenced by FOGClient\__construct(), Registration\__construct(), TaskingElement\__construct(), FOGPage\authorize(), RegisterClient\json(), FOGPage\requestClientInfo(), and RegisterClient\send().

◆ getIPAddress()

static FOGBase::getIPAddress (   $force = false)
staticprotected

Get IP Addresses of the server.

Returns
array

Definition at line 2242 of file fogbase.class.php.

References $ips, $output, and fastmerge().

Referenced by PingHosts\_commonOutput(), FOGService\checkIfNodeMaster(), getMasterInterface(), FileIntegrity\getThisNode(), and FOGService\waitInterfaceReady().

◆ getMACLookupCount()

static FOGBase::getMACLookupCount ( )
static

Returns the count of mac lookups

Returns
int

Definition at line 2486 of file fogbase.class.php.

References getClass().

Referenced by FOGConfigurationPage\maclist().

◆ getMasterInterface()

static FOGBase::getMasterInterface (   $ip_find)
static

Gets the master interface based on the ip found.

Parameters
string$ip_findthe interface ip's to find
Returns
string

Definition at line 2206 of file fogbase.class.php.

References $interface, $interface, $ip, and getIPAddress().

Referenced by MulticastTask\getAllMulticastTasks().

◆ getMessages()

static FOGBase::getMessages ( )
staticprotected

Gets message banner and prepares to display it.

Returns
string

Lambda that simply prints the messages as passed.

Parameters
string$messagethe message to print

Definition at line 795 of file fogbase.class.php.

◆ getProgressState()

static FOGBase::getProgressState ( )
static

Get in progress state id.

Returns
int

Reimplemented in TaskState.

Definition at line 2133 of file fogbase.class.php.

References TaskState\getProgressState().

Referenced by Host\createImagePackage().

◆ getQueuedState()

static FOGBase::getQueuedState ( )
static

Get queued state main id.

Returns
int

Reimplemented in TaskState.

Definition at line 2115 of file fogbase.class.php.

References TaskState\getQueuedState().

◆ getQueuedStates()

static FOGBase::getQueuedStates ( )
static

Gets queued state ids.

Returns
array

Reimplemented in TaskState.

Definition at line 2106 of file fogbase.class.php.

References TaskState\getQueuedStates().

Referenced by Host\createImagePackage().

◆ getSetting()

◆ getSubObjectIDs()

static FOGBase::getSubObjectIDs (   $object = 'Host',
  $findWhere = array(),
  $getField = 'id',
  $not = false,
  $operator = 'AND',
  $orderBy = 'name',
  $groupBy = false,
  $filter = 'array_unique' 
)
static

Gets the object ids only.

Parameters
string$objectThe object to use
array$findWhereHow to find the elements we need
string$getFieldThe field value to return
mixed$notDB to search with not or no not
string$operatorHow to join strings (And or Or)
mixed$orderByOrder the return by
mixed$groupByGroup the return by
string$filterHow to filter the data returning
Returns
array

Definition at line 2006 of file fogbase.class.php.

References $data, and getClass().

Referenced by FOGClient\__construct(), FOGURLRequests\__construct(), Registration\__construct(), DashboardPage\__construct(), BootMenu\__construct(), HookDebugger\__construct(), Route\__construct(), ImageReplicator\__construct(), ImageSize\__construct(), MulticastManager\__construct(), PingHosts\__construct(), SnapinHash\__construct(), SnapinReplicator\__construct(), TaskScheduler\__construct(), Host\_cancelJobsSnapinsForHost(), ImageReplicator\_commonOutput(), ImageSize\_commonOutput(), SnapinHash\_commonOutput(), SnapinReplicator\_commonOutput(), TaskScheduler\_commonOutput(), Group\_createSnapinTasking(), Registration\_fullReg(), FOGURLRequests\_getOptions(), User\_isLoggedIn(), Registration\_quickRegAuto(), Host\_setDispVals(), TaskManagementPage\activemulticastPost(), TaskManagementPage\activesnapinsPost(), AddAccessControlUser\addNotes(), AddSiteUser\addNotes(), HostManagementPage\addPost(), StorageManagementPage\addStorageNodePost(), FOGPage\adInfo(), Route\cancel(), MulticastSessionManager\cancel(), SnapinJobManager\cancel(), SnapinTaskManager\cancel(), TaskManager\cancel(), Task\cancel(), certDecrypt(), ChangeHostKey\changeHostProductKey(), FOGPage\configure(), FOGFTP\connect(), Host\createImagePackage(), Group\createImagePackage(), FOGConfigurationPage\customizepxePost(), DelAccessControlMenuItem\deleteMenuData(), DelAccessControlMenuItem\deleteSubMenuData(), FOGPage\deployPost(), ImageManager\destroy(), PluginManager\destroy(), SnapinManager\destroy(), Snapin\destroy(), ServiceConfigurationPage\edit(), GroupManagementPage\editPost(), StorageManagementPage\editStorageNodePost(), BootMenu\falseTasking(), History_Report\file(), Host_List\file(), Hosts_And_Users\file(), Imaging_Log\file(), Inventory_Report\file(), Snapin_Log\file(), User_Tracking\file(), Equipment_Loan\filePost(), Host_List\filePost(), Hosts_And_Users\filePost(), Imaging_Log\filePost(), Inventory_Report\filePost(), Pending_MAC_List\filePost(), Snapin_Log\filePost(), User_Tracking\filePost(), getActivePlugins(), MulticastTask\getCMD(), getGlobalModuleStatus(), AddSiteFilterSearch\getGroupIDbySite(), HostManager\getHostByMacAddresses(), AddSiteFilterSearch\getHostIDbySite(), FileIntegrity\getImagePaths(), StorageNode\getImages(), Host\getMyMacs(), AddHostStatusHost\getPingCodeStr(), Host\getPingCodeStr(), Plugin\getPlugins(), Image\getPrimaryGroup(), Snapin\getPrimaryGroup(), Image\getPrimaryStorageGroup(), StorageNode\getQueuedSlotCount(), ServiceManager\getSettingCats(), AddSiteFilterSearch\getSiteIDbyUser(), Image\getStorageGroup(), Snapin\getStorageGroup(), BootMenu\getTasking(), StorageGroup\getTotalSupportedClients(), MulticastTask\getUDPCastLogFile(), StorageNode\getUsedSlotCount(), AddLocationGroup\groupFields(), GroupManagementPage\groupService(), AddLocationHost\hostData(), AddSiteFilterSearch\hostData(), AddSiteHost\hostData(), AddLocationHost\hostEmailHook(), AddSiteHost\hostEmailHook(), AddLocationHost\hostExport(), AddSiteHost\hostExport(), AddLocationHost\hostFields(), AddSiteHost\hostFields(), HostManagementPage\hostImageHistory(), AddLocationHost\hostInfoExpose(), AddSiteHost\hostInfoExpose(), HostManagementPage\hostLoginHistory(), HostManagementPage\hostService(), HostManagementPage\hostSnapinHistory(), AddWindowsKeyImage\imageFields(), TaskingElement\imageLog(), FOGPage\importPost(), ClientManagementPage\index(), AccessControlAssociationManager\install(), AddSiteFilterSearch\isRestricted(), PM\json(), PrinterClient\json(), RegisterClient\json(), SnapinClient\json(), FOGPage\kernelfetch(), AccessControl\loadAccesscontrolrules(), Host\loadAdditionalMACs(), Host\loadGroups(), Site\loadHosts(), Image\loadHosts(), Module\loadHosts(), Snapin\loadHosts(), Location\loadHosts(), Site\loadHostsnotinme(), WindowsKey\loadImages(), Host\loadModules(), Host\loadPendingMACs(), Host\loadPowermanagementtasks(), Host\loadPrinters(), Host\loadSnapinjob(), Host\loadSnapins(), SnapinJob\loadSnapintasks(), Image\loadStoragegroups(), Snapin\loadStoragegroups(), Host\loadTask(), Host\loadUsers(), AccessControl\loadUsers(), Site\loadUsers(), FOGConfigurationPage\logviewer(), parseMacList(), FOGConfigurationPage\pxemenu(), FOGConfigurationPage\pxemenuPost(), FOGPage\requestClientInfo(), PluginManagementPage\run(), Host\save(), Image\save(), Snapin\save(), FOGManagerController\search(), RegisterClient\send(), ServiceModule\send(), SnapinClient\send(), FOGCore\setEnv(), Image\setPrimaryGroup(), Snapin\setPrimaryGroup(), SnapinManagementPage\snapinGeneral(), Route\task(), AddLocationTasks\tasksActiveData(), LDAPManager\uninstall(), Printer\updateDefault(), Group\updateDefault(), AddAccessControlUser\userData(), AddSiteUser\userData(), AddAccessControlUser\userFields(), AddSiteUser\userFields(), BootMenu\verifyCreds(), Group\wakeOnLAN(), and wakeUp().

◆ hex2bin()

static FOGBase::hex2bin (   $hex)
staticprotected

Converts hex to binary equivalent.

Parameters
mixed$hexThe hex to convert.
Returns
string

Definition at line 1424 of file fogbase.class.php.

Referenced by aesencrypt(), and certDecrypt().

◆ humanify()

static FOGBase::humanify (   $diff,
  $unit 
)
staticprotected

Return more human friendly time.

Parameters
int$diffthe difference passed
string$unitthe unit of time (minute, hour, etc...)
Exceptions
Exception
Returns
string

Definition at line 1340 of file fogbase.class.php.

Referenced by formatTime().

◆ info()

static FOGBase::info (   $txt,
  $data = array() 
)
staticprotected

Prints info.

Parameters
string$txtthe string to use
array$datathe data if txt is formatted string
Returns
void

Definition at line 763 of file fogbase.class.php.

References $data, and _setString().

Referenced by FOGController\add(), FOGController\get(), FOGGetSet\get(), FOGController\load(), PDODB\query(), MySQL\query(), FOGController\remove(), FOGController\save(), FOGController\set(), and FOGGetSet\set().

◆ isLoaded()

FOGBase::isLoaded (   $key)
protected

Check if isLoaded.

Parameters
string | int$keythe key to see if loaded
Returns
bool|string

Definition at line 969 of file fogbase.class.php.

Referenced by FOGController\add(), FOGController\assocSetter(), Site\assocSetter(), FOGController\get(), StorageNode\get(), Inventory\getHost(), MACAddressAssociation\getHost(), FOGController\remove(), Host\save(), Image\save(), and FOGController\set().

◆ lasterror()

static FOGBase::lasterror ( )
static

Returns the last error.

Returns
string

Definition at line 2296 of file fogbase.class.php.

◆ log()

static FOGBase::log (   $txt,
  $curlog,
  $logfile,
  $logbrow,
  $obj,
  $level = 1 
)
staticprotected

How to log this file.

Parameters
string$txtThe text to log.
int$curlogThe logLevel setting.
int$logfileThe logToFile setting.
int$logbrowThe logToBrowser setting.
object$objThe object.
int$levelThe basic log level.
Returns
void

Reimplemented in Event.

Definition at line 1900 of file fogbase.class.php.

References logHistory().

Referenced by EventManager\notify(), EventManager\register(), and User\validatePw().

◆ logHistory()

static FOGBase::logHistory (   $string)
staticprotected

Log to history table.

Parameters
string$stringthe string to store
Returns
void

Definition at line 1937 of file fogbase.class.php.

References getClass().

Referenced by FOGController\destroy(), log(), and FOGController\save().

◆ niceDate()

◆ orderBy()

FOGBase::orderBy ( $orderBy)

Sets the order by element of sql.

Parameters
string$orderBythe string to order by
Returns
void

Definition at line 1973 of file fogbase.class.php.

Referenced by FOGManagerController\buildSelectBox(), FOGManagerController\destroy(), and FOGManagerController\find().

◆ parseMacList()

static FOGBase::parseMacList (   $stringlist,
  $image = false,
  $client = false 
)
static

Cycle the macs and return valid.

Parameters
string | array$stringlistthe macs to parse
bool$imagecheck if image type ignored
bool$clientcheck if client type ignored
Returns
array

Definition at line 1696 of file fogbase.class.php.

References $count, $MACs, fastmerge(), getClass(), and getSubObjectIDs().

Referenced by WakeOnLan\__construct(), TaskScheduler\_commonOutput(), Host\addAddMAC(), Host\addPriMAC(), getHostItem(), HostManagementPage\hostGeneralPost(), FOGPage\importPost(), RegisterClient\json(), RegisterClient\send(), FOGPage\wakeEmUp(), Group\wakeOnLAN(), and wakeUp().

◆ pluralize()

static FOGBase::pluralize (   $count,
  $text,
  $space = false 
)
staticprotected

Simply returns if the item should be with an s or not.

Parameters
int$countThe count of the element
string$textThe string to append to
bool$spaceUse a space or not
Exceptions
Exception
Returns
string

Definition at line 1222 of file fogbase.class.php.

References $count.

Referenced by diff().

◆ randWait()

static FOGBase::randWait ( )
static

Wait a random interval between 1/2 second to 2 seconds.

Returns
void

Definition at line 2542 of file fogbase.class.php.

Referenced by TaskQueue\checkIn().

◆ redirect()

static FOGBase::redirect (   $url = '')
staticprotected

◆ resetRequest()

static FOGBase::resetRequest ( )
staticprotected

Reset request variables.

Returns
void

Definition at line 983 of file fogbase.class.php.

References $val.

Referenced by FOGPage\deletePost(), AccessControlManagementPage\deleteRulePost(), FOGConfigurationPage\maclistPost(), and FOGPageManager\render().

◆ resolveHostname()

static FOGBase::resolveHostname (   $host)
static

Resolves a hostname to its IP address

Parameters
string$hostthe item to test
Returns
string

Definition at line 2497 of file fogbase.class.php.

References $host.

Referenced by BootMenu\__construct(), PingHosts\_commonOutput(), AddSubnetgroupHost\addSubnetgroupHost(), FOGService\checkIfNodeMaster(), and FileIntegrity\getThisNode().

◆ sendData()

FOGBase::sendData (   $datatosend,
  $service = true,
  $array = array() 
)
protected

Prints the data encrypted as needed.

Parameters
string$datatosendthe data to send
bool$serviceif not a service simpy return
array$arrayThe non-encoded array data.
Returns
string

Definition at line 1813 of file fogbase.class.php.

References $data, $Host, $service, exit, and niceDate().

Referenced by FOGClient\__construct(), and FOGPage\requestClientInfo().

◆ setMessage()

◆ setRequest()

FOGBase::setRequest ( )
protected

Set request vars particularly for post failures really.

Returns
void

Definition at line 1006 of file fogbase.class.php.

Referenced by FOGPageManager\render().

◆ setSetting()

static FOGBase::setSetting (   $key,
  $value 
)
static

Set global setting value by key.

Parameters
string$keyWhat to set
string$valueValue to set
Exceptions
Exception
Returns
this

Definition at line 2093 of file fogbase.class.php.

References getClass().

Referenced by Plugin\_getDirs(), Registration\_quickRegAuto(), Host\createImagePackage(), Group\createImagePackage(), ImageManagementPage\multicastPost(), LDAPManagementPage\PluginConfigurationPost(), Service\setDisplay(), and FOGConfigurationPage\settingsPost().

◆ stringBetween()

static FOGBase::stringBetween (   $string,
  $start,
  $end 
)
static

Put string between two strings.

Parameters
string$stringthe string to insert
string$startthe string to place after
string$endthe string to place before
Returns
string

Definition at line 2164 of file fogbase.class.php.

Referenced by FOGConfigurationPage\logviewer().

◆ stripAndDecode()

static FOGBase::stripAndDecode ( $item)
static

Strips and decodes items.

Parameters
mixed$itemthe item to strip and decode
Returns
mixed

Definition at line 2183 of file fogbase.class.php.

References $val.

Referenced by Registration\_fullReg().

◆ validDate()

static FOGBase::validDate (   $date,
  $format = '' 
)
staticprotected

Checks if the time passed is valid or not.

Parameters
mixed$datethe date to use
mixed$formatthe format to test
Returns
object

Definition at line 1184 of file fogbase.class.php.

References niceDate().

◆ wakeUp()

static FOGBase::wakeUp (   $macs)
static

Perform enmass wake on lan.

Parameters
array$macsThe macs to send
Returns
void

Definition at line 2340 of file fogbase.class.php.

References $ip, $ret, $url, getSubObjectIDs(), and parseMacList().

Referenced by TaskScheduler\_commonOutput(), Group\wakeOnLAN(), and Host\wakeOnLAN().

Member Data Documentation

◆ $_initialized

FOGBase::$_initialized = false
staticprivate

Definition at line 280 of file fogbase.class.php.

◆ $ajax

FOGBase::$ajax = false
static

Definition at line 91 of file fogbase.class.php.

◆ $buildSelectBox

FOGBase::$buildSelectBox
staticprotected

Definition at line 145 of file fogbase.class.php.

◆ $DB

FOGBase::$DB
staticprotected

Definition at line 157 of file fogbase.class.php.

Referenced by _init(), and DatabaseManager\getDB().

◆ $debug

FOGBase::$debug = false
staticprotected

◆ $defaultscreen

FOGBase::$defaultscreen = ''
static

Definition at line 67 of file fogbase.class.php.

Referenced by FOGPageManager\render().

◆ $EventManager

FOGBase::$EventManager
staticprotected

Definition at line 175 of file fogbase.class.php.

Referenced by _init().

◆ $FOGCore

FOGBase::$FOGCore
staticprotected

Definition at line 169 of file fogbase.class.php.

Referenced by _init().

◆ $fogdeleteactive

FOGBase::$fogdeleteactive = false
static

Definition at line 43 of file fogbase.class.php.

◆ $fogexportactive

FOGBase::$fogexportactive = false
static

Definition at line 49 of file fogbase.class.php.

◆ $FOGFTP

FOGBase::$FOGFTP
staticprotected

Definition at line 163 of file fogbase.class.php.

Referenced by _init().

◆ $foglang

FOGBase::$foglang
static

Definition at line 85 of file fogbase.class.php.

Referenced by _init().

◆ $FOGPageManager

FOGBase::$FOGPageManager
staticprotected

Definition at line 199 of file fogbase.class.php.

Referenced by _init().

◆ $fogpingactive

FOGBase::$fogpingactive = false
static

Definition at line 37 of file fogbase.class.php.

◆ $FOGSubMenu

FOGBase::$FOGSubMenu
staticprotected

Definition at line 211 of file fogbase.class.php.

◆ $FOGURLRequests

FOGBase::$FOGURLRequests
staticprotected

Definition at line 205 of file fogbase.class.php.

Referenced by _init().

◆ $FOGUser

FOGBase::$FOGUser
staticprotected

Definition at line 193 of file fogbase.class.php.

◆ $HookManager

FOGBase::$HookManager
staticprotected

Definition at line 181 of file fogbase.class.php.

Referenced by _init().

◆ $Host

◆ $httphost

FOGBase::$httphost = ''
static

Definition at line 304 of file fogbase.class.php.

◆ $httpproto

FOGBase::$httpproto = false
static

Definition at line 298 of file fogbase.class.php.

◆ $httpreferer

FOGBase::$httpreferer
static

Definition at line 247 of file fogbase.class.php.

◆ $httpreqwith

FOGBase::$httpreqwith
static

Definition at line 229 of file fogbase.class.php.

◆ $info

◆ $interface

◆ $ips

FOGBase::$ips = array()
staticprotected

Definition at line 253 of file fogbase.class.php.

Referenced by getIPAddress().

◆ $isLoaded

FOGBase::$isLoaded = array()
protected

Definition at line 121 of file fogbase.class.php.

◆ $json

FOGBase::$json = false
static

Definition at line 109 of file fogbase.class.php.

Referenced by FOGClient\__construct().

◆ $locale

FOGBase::$locale = ''
static

◆ $mySchema

FOGBase::$mySchema = 0
static

Definition at line 286 of file fogbase.class.php.

Referenced by DatabaseManager\_getVersion().

◆ $newService

FOGBase::$newService = false
static

Definition at line 115 of file fogbase.class.php.

Referenced by FOGClient\__construct().

◆ $pendingHosts

FOGBase::$pendingHosts = 0
static

Definition at line 61 of file fogbase.class.php.

◆ $pendingMACs

FOGBase::$pendingMACs = 0
static

Definition at line 55 of file fogbase.class.php.

◆ $pluginsinstalled

FOGBase::$pluginsinstalled = array()
static

Definition at line 73 of file fogbase.class.php.

◆ $post

FOGBase::$post = false
static

Definition at line 97 of file fogbase.class.php.

◆ $querystring

FOGBase::$querystring
static

Definition at line 223 of file fogbase.class.php.

◆ $remoteaddr

FOGBase::$remoteaddr
static

Definition at line 241 of file fogbase.class.php.

Referenced by TaskLog\__construct().

◆ $reqmethod

FOGBase::$reqmethod
static

Definition at line 235 of file fogbase.class.php.

◆ $scriptname

FOGBase::$scriptname
static

Definition at line 217 of file fogbase.class.php.

◆ $searchPages

FOGBase::$searchPages
staticprotected
Initial value:
= array(
'user',
'host',
'group',
'image',
'snapin',
'printer',
'task',
)

Definition at line 265 of file fogbase.class.php.

◆ $selected

FOGBase::$selected
staticprotected

◆ $service

FOGBase::$service = false
static

Definition at line 103 of file fogbase.class.php.

Referenced by FOGClient\__construct(), getHostItem(), and sendData().

◆ $showhtml

FOGBase::$showhtml = true
static

Definition at line 292 of file fogbase.class.php.

◆ $strlen

FOGBase::$strlen
staticprotected

◆ $TimeZone

FOGBase::$TimeZone
staticprotected

Definition at line 187 of file fogbase.class.php.

Referenced by _init().

◆ $useragent

FOGBase::$useragent
static

Definition at line 79 of file fogbase.class.php.


The documentation for this class was generated from the following file: