gcdb::__set()
最后更新于:2021-11-26 09:07:36
gcdb::__set( string$name, mixed$value)Makes private properties settable for backward compatibility.
参数
- $name
-
(string) (Required) The private member to set.
- $value
-
(mixed) (Required) The value to set.
源文件
文件: gc-includes/gc-db.php
public function __set( $name, $value ) {
$protected_members = array(
'col_meta',
'table_charset',
'check_current_query',
);
if ( in_array( $name, $protected_members, true ) ) {
return;
}
$this->$name = $value;
}