Form_Category::__isset( string $property )

Magic isset-er.

Description

Checks whether a property is set.

See also

Parameters

$property

(string) (Required) Property to check for.

Return

(bool) True if the property is set, false otherwise.

Source

File: src/db-objects/form-categories/form-category.php

	public function __isset( $property ) {
		switch ( $property ) {
			case 'id':
			case 'title':
				return true;
		}

		return parent::__isset( $property );
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.