## Class mr_model_record_abstract

Description

MR Model Record Abstract

A model that associates itself with a database table record.

Note: a model doesn't have to directly map to a single record and a record doesn't have to map to a single model. For example, a model may contain data from multiple tables.

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

Located in /model/record/abstract.php (line 45)

    mr_model_abstract
       |
       --mr_model_record_abstract

Variable Summary
int|null $id
Method Summary
int|null get_id ()
mr_model_record_abstract set_id (int|null $id)
Variables
int|null $id = null (line 49)

- access: protected

Methods
get_id (line 58)

Get the ID

Might be null, meaning it's not set.

- access: public

int|null get_id ()
set_id (line 69)

Set the ID to null or to a positive whole number

- throws: coding_exception
- access: public

mr_model_record_abstract set_id (int|null $id)

- int|null $id

#### Inherited Methods

Inherited From mr_model_abstract

> mr_model_abstract::__construct()
> mr_model_abstract::get_options()
> mr_model_abstract::set_options()

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