Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Values.php
Go to the documentation of this file.
1 <?php
2 namespace Elgg;
3 
8 class Values {
9 
16  public static function getTrue() {
17  return true;
18  }
19 
26  public static function getFalse() {
27  return false;
28  }
29 
36  public static function getNull() {
37  }
38 
45  public static function getArray() {
46  return [];
47  }
48 }
static getNull()
Return null.
Definition: Values.php:36
static getFalse()
Return false.
Definition: Values.php:26
static getTrue()
Return true.
Definition: Values.php:16
Functions for use as plugin hook/event handlers or other situations where you need a globally accessi...
Definition: Values.php:8
static getArray()
Return empty array.
Definition: Values.php:45