li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • data
  • Model
  • reset()

Contents

  • ../

lithium\data\Model::reset()

public static method

Resets the model.

Returns

void

Related

  • lithium\data\Model::$_instances

Source

	public static function reset() {
		$class = get_called_class();
		unset(static::$_instances[$class]);
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

With li3, I don't need to
reverse the polarity of the neutron flow…

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.