Back to Nested class

Method reset

public void
reset
()
Method to reset class properties to the defaults set in the class definition. It will ignore the primary key as well as any private class properties (except $_errors).
Returns
  • void
Since
  • 3.2.1
Class: Nested
Project: Joomla

Method reset - Source code

/**
 * Method to reset class properties to the defaults set in the class
 * definition. It will ignore the primary key as well as any private class
 * properties (except $_errors).
 *
 * @return  void
 *
 * @since   3.2.1
 */
public function reset()
{
    parent::reset();
    // Reset the location properties.
    $this->setLocation(0);
}