## Class CFW_Models_DataSource

Description

データソース

データ取得、保存のためのプロキシ

- author: okada
- abstract:

Located in /Models/DataSource.php (line 9)

Direct descendents

Class | Description
--- | ---
CFW_Ldap_DataSource | データソース

Method Summary
static unknown_type getDataSource ($config $config)
unknown_type connect ()
unknown_type count ($model &$model, [$criteria $criteria = null])
unknown_type delete ( &$model, [CFW_Data_Criteria $criteria = null], CFW_Data_Model $model)
unknown_type describe ($model &$model)
unknown_type disconnect ()
unknown_type insert ( &$model, array $values, CFW_Data_Model $model, array $fields)
CFW_Data_Entity read ($model &$model, [$criteria $criteria = null], $fields 2, $order 3, $limit 4, $offset 5)
unknown_type update ( &$model, array $values, [CFW_Data_Criteria $criteria = null], CFW_Data_Model $model, array $fields)
Methods
static method getDataSource (line 75)

実データソース取得

datasource.class_nameに合致するデータソースをロードする。

- access: public

static unknown_type getDataSource ($config $config)

- $config $config

connect (line 14)

接続

- abstract:
- access: public

unknown_type connect ()

Redefined in descendants as:

- CFW_Ldap_DataSource::connect()

count (line 61)

指定条件に該当するデータの件数取得

- abstract:
- access: public

unknown_type count ($model &$model, [$criteria $criteria = null])

- $model &$model
- $criteria $criteria

Redefined in descendants as:

- CFW_Ldap_DataSource::count()

delete (line 43)

データ削除

- abstract:
- access: public

unknown_type delete ( &$model, [CFW_Data_Criteria $criteria = null], CFW_Data_Model $model)

- CFW_Data_Model $model
- CFW_Data_Criteria $criteria
- &$model

Redefined in descendants as:

- CFW_Ldap_DataSource::delete()

describe (line 67)

エンティティの型情報取得

- abstract:
- access: public

unknown_type describe ($model &$model)

- $model &$model

Redefined in descendants as:

- CFW_Ldap_DataSource::describe()

disconnect (line 19)

接続解除

- abstract:
- access: public

unknown_type disconnect ()

Redefined in descendants as:

- CFW_Ldap_DataSource::disconnect()

insert (line 27)

データ追加

- abstract:
- access: public

unknown_type insert ( &$model, array $values, CFW_Data_Model $model, array $fields)

- CFW_Data_Model $model
- array $fields
- array $values
- &$model

Redefined in descendants as:

- CFW_Ldap_DataSource::insert()

read (line 54)

指定条件に該当するデータ読み取り

- abstract:
- access: public

CFW_Data_Entity read ($model &$model, [$criteria $criteria = null], $fields 2, $order 3, $limit 4, $offset 5)

- $fields 2
- $order 3
- $limit 4
- $offset 5
- $model &$model
- $criteria $criteria

Redefined in descendants as:

- CFW_Ldap_DataSource::read()

update (line 36)

データ更新

- abstract:
- access: public

unknown_type update ( &$model, array $values, [CFW_Data_Criteria $criteria = null], CFW_Data_Model $model, array $fields)

- CFW_Data_Model $model
- array $fields
- array $values
- CFW_Data_Criteria $criteria
- &$model

Redefined in descendants as:

- CFW_Ldap_DataSource::update()

Documentation generated on Fri, 25 Dec 2009 22:44:53 +0900 by phpDocumentor 1.4.3