属性の一覧を返す
array
getAttrList
(string $attr_name)
-
string
$attr_name: 属性の名前(変数名)
属性の表示名(詳細)を返す
string
getAttrLongName
(string $attr_name, mixed $id)
-
string
$attr_name: 属性の名前(変数名)
-
mixed
$id: 属性ID
属性の表示名を返す
string
getAttrName
(string $attr_name, mixed $id)
-
string
$attr_name: 属性の名前(変数名)
-
mixed
$id: 属性ID
オブジェクトの一覧を返す
mixed
getObjectList
(string $class, [array $filter = null], [array $order = null], [int $offset = null], [int $count = null])
-
string
$class: Ethna_AppObjectの継承クラス名
-
array
$filter: 検索条件
-
array
$order: 検索結果ソート条件
-
int
$offset: 検索結果取得オフセット
-
int
$count: 検索結果取得数
オブジェクトプロパティを返す
getObjectPropList()メソッドの簡易版で、$filterにより結果が1エントリに 制限される場合(プライマリキーでの検索等)に利用する
mixed
getObjectProp
(string $class, [array $keys = null], [array $filter = null])
-
string
$class: Ethna_AppObjectの継承クラス名
-
array
$keys: 取得するプロパティ一覧
-
array
$filter: 検索条件
オブジェクトプロパティの一覧を返す
getObjectList()メソッドは条件にマッチするIDを元にEthna_AppObjectを生成する ためコストがかかる。こちらはプロパティのみをSELECTするので低コストでデータ を取得することが可能。
mixed
getObjectPropList
(string $class, [array $keys = null], [array $filter = null], [array $order = null], [int $offset = null], [int $count = null])
-
string
$class: Ethna_AppObjectの継承クラス名
-
array
$keys: 取得するプロパティ一覧(nullなら全て)
-
array
$filter: 検索条件
-
array
$order: 検索結果ソート条件
-
int
$offset: 検索結果取得オフセット
-
int
$count: 検索結果取得数