Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
database_column_info Class Reference

Public Member Functions

 __construct ($data)
 Constructor. More...
 
 __get ($variablename)
 Magic get function. More...
 
 __isset ($variablename)
 Magic isset function. More...
 
 __set ($name, $value)
 Magic set function. More...
 

Protected Attributes

array $data
 The internal storage of column data.
 

Constructor & Destructor Documentation

◆ __construct()

database_column_info::__construct (   $data)

Constructor.

Parameters
mixed$dataobject or array with properties

Member Function Documentation

◆ __get()

database_column_info::__get (   $variablename)

Magic get function.

Parameters
string$variablenamevariable name to return the value of.
Return values
mixedThe variable contents.
Exceptions
coding_exceptionYou cannot request a variable that is not allowed.

◆ __isset()

database_column_info::__isset (   $variablename)

Magic isset function.

Parameters
string$variablenameThe name of the property to test if isset().
Return values
boolWhether the value is set or not.

◆ __set()

database_column_info::__set (   $name,
  $value 
)

Magic set function.

This is a read only object and you aren't allowed to write to any variables.

Parameters
string$nameignored.
mixed$valueignored.
Exceptions
coding_exceptionYou are not allowed to set data on database_column_info

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