## Class mr_model_abstract

Description

MR Model Abstract

A model basic model. You must define all of your properties and get/set methods for them.

- author: Mark Nielsen
- abstract:
- example: See this class in action

Located in /model/abstract.php (line 37)

Direct descendents

Class | Description
--- | ---
mr_model_record_abstract | MR Model Record Abstract

Method Summary
mr_model_abstract __construct ([array $options = array()])
stdClass get_options ()
mr_model_abstract set_options (array|object $options)
Methods
Constructor __construct (line 41)

- access: public

mr_model_abstract __construct ([array $options = array()])

- array $options: Set initial properties

get_options (line 70)

A way to export model properties

Will look for method get_{property} methods.

- access: public

stdClass get_options ()
set_options (line 53)

A way to bulk set model properties

Will look for method set_{property} methods.

- access: public

mr_model_abstract set_options (array|object $options)

- array|object $options

Documentation generated on Thu, 28 Jun 2012 16:33:45 -0700 by phpDocumentor 1.4.3