Magic method to access this row's fields like native PHP properties.
Class Details
[line 153]
Provide information to identify a cluster node.
This class provides various properties accessed via the magic methods __get() and __set(). Some of these properties correspond to database fields, some do not. The __get() and __set() methods internally use the get() and set() methods which provide access control - in contrast to the parent class's GALRow::get() and GALTableRow::set() methods. After performing the access control, these are used to read and write the properties corresponding to database fields. All properties corresponding to database fields are of type string, but instead database types are given here. (r indicates readable, w writable)
Properties corresponding to database fields:
INTEGER UNSIGNED nodeID r The numerical ID of the node.
BOOL online rw Set to TRUE if a node can serve requests
First of all access control is performed. If successful, the call is delegated to the parent GALResult::get() method. It might seem strange that overriding access control is the default. It is like it is because GALRow::__construct() called by GALNode::__construct reads the row's primary key using the get() method. In our case the original get() method is overridden by the current one, so it has to work in this case without second parameter.
Overrides GALRow::get() (Returns the value of a field.)
It internally uses the get() method with enforced access control. Library users should not explicitly call the __get() method - it is good for nothing. If you want to read a property with a method call, use get() instead. This method also provides overriding access control if required.
Tags:
return:
The propertie's value.
Overrides GALRow::__get() (Magic method to access this row's fields like native PHP properties.)