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)  

pushbulletmanager.class.php
Go to the documentation of this file.
1 <?php
25 {
31  public $tablename = 'pushbullet';
37  public function install()
38  {
39  $this->uninstall();
40  $fields = array(
41  'pID',
42  'pToken',
43  'pName',
44  'pEmail'
45  );
46  $types = array(
47  'INTEGER',
48  'VARCHAR(255)',
49  'VARCHAR(255)',
50  'VARCHAR(255)'
51  );
52  $notnulls = array(
53  false,
54  false,
55  false,
56  false
57  );
58  $defaults = array(
59  false,
60  false,
61  false,
62  false
63  );
64  $keys = array(
65  'pID',
66  'pToken'
67  );
68  $sql = Schema::createTable(
69  $this->tablename,
70  true,
71  $fields,
72  $types,
73  $notnulls,
74  $defaults,
75  $keys,
76  'MyISAM',
77  'utf8',
78  'pID',
79  'pID'
80  );
81  return self::$DB->query($sql);
82  }
83 }
FOGManagerController
Definition: fogmanagercontroller.class.php:23
PushbulletManager
Definition: pushbulletmanager.class.php:25
Schema\createTable
static createTable( $name, $exists, $fields, $types, $nulls, $default, $unique, $engine='MyISAM', $charset='utf8', $prime='', $autoin='')
Definition: schema.class.php:306
$keys
$keys
Definition: schema.php:1610
PushbulletManager\$tablename
$tablename
Definition: pushbulletmanager.class.php:31
FOGManagerController\uninstall
uninstall()
Definition: fogmanagercontroller.class.php:1431
PushbulletManager\install
install()
Definition: pushbulletmanager.class.php:37