Yoast\WP\Lib
ORM::set_class_name
Sets the name of the class which the wrapped methods should return instances of.
Метод класса: ORM{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ORM = new ORM(); $ORM->set_class_name( $class_name );
- $class_name(строка) (обязательный)
- The classname to set.
Код ORM::set_class_name() ORM::set class name Yoast 26.7
public function set_class_name( $class_name ) {
$this->class_name = $class_name;
}