Makes private properties readable for backward compatibility.
Parameters
$name
stringrequired- The private member to get, and optionally process.
Source
public function __get( $name ) {
if ( 'col_info' === $name ) {
$this->load_col_info();
}
return $this->$name;
}
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.