gcdb::__get()

最后更新于:2021-11-26 09:07:19

gcdb::__get( string$name)

Makes private properties readable for backward compatibility.

参数

$name

(string) (Required) The private member to get, and optionally process.

响应

(mixed) The private member.

源文件

文件: gc-includes/gc-db.php

	public function __get( $name ) {
		if ( 'col_info' === $name ) {
			$this->load_col_info();
		}

		return $this->$name;
	}