## Class CFW_Models_Base

Description

全てのモデルの基本クラス.

load,save,validateのみのシグネーチャを定義しておくので実装クラスで実装する事。

- author: okada
- abstract:

Located in /Models/Base.php (line 13)

Variable Summary
mixed $connection
mixed $messages
Method Summary
none __construct ()
none connect ([unknown_type $name = "default"])
none_type disconnect ()
CFW_Models_IEntity load ( $key, CFW_Models_IEntity $entity)
unknown_type save (unknown_type $entity)
none setConnection (CFW_Data_Connection $connection)
none setProperty (CFW_Models_IEntity $property)
Boolean validate (CFW_Models_IEntity $entity)
Variables
mixed $connection (line 14)
mixed $messages (line 15)
Methods
Constructor __construct (line 20)

- access: public

none __construct ()
connect (line 26)

- access: public

none connect ([unknown_type $name = "default"])

- unknown_type $name

disconnect (line 33)

- access: public

none_type disconnect ()
load (line 60)

- abstract:

CFW_Models_IEntity load ( $key, CFW_Models_IEntity $entity)

- CFW_Models_IEntity $entity
- $key

save (line 55)

- abstract:

unknown_type save (unknown_type $entity)

- unknown_type $entity

setConnection (line 41)

- access: public

none setConnection (CFW_Data_Connection $connection)

- CFW_Data_Connection $connection

setProperty (line 48)

- access: public

none setProperty (CFW_Models_IEntity $property)

- CFW_Models_IEntity $property

validate (line 65)

- abstract:

Boolean validate (CFW_Models_IEntity $entity)

- CFW_Models_IEntity $entity

Documentation generated on Fri, 25 Dec 2009 21:42:34 +0900 by phpDocumentor 1.4.3