Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
database_column_info Class Reference

Public Member Functions

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

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: