spiral
[ class tree: spiral ] [ index: spiral ] [ all elements ]

Class: SpiralApiRequestUtil

Source Location: /api/request/SpiralApiRequestUtil.php

Class Overview


スパイラルAPIのユーティリティ


Methods



Class Details

[line 7]
スパイラルAPIのユーティリティ



[ Top ]


Class Methods


static method addCondition [line 57]

static void addCondition( array &$_condition, string $_name, string $_value, [string $_operator = "="], [string $_logic = "AND"])

1フィールド分の検索条件を追加します



Tags:

access:  public


Parameters:

array   &$_condition   配列の参照
string   $_name   検索したいフィールドタイトル
string   $_value   検索したい値
string   $_operator   オペレータ(=, LIKE, >, <, ~||, ISNULL, ISNOTNULL など)
string   $_logic   AND or OR

[ Top ]

static method addData [line 15]

static void addData( array &$_data, string $_name, string $_value)

1フィールド分の名前と値のペアを追加します



Tags:

access:  public


Parameters:

array   &$_data   配列の参照
string   $_name   登録したいフィールドタイトル
string   $_value   登録したい値

[ Top ]

static method addSort [line 35]

static void addSort( array &$_data, string $_name, string $_order)

1フィールドの名前と値のソートをセット



Tags:

access:  public


Parameters:

array   &$_data   配列の参照
string   $_name   フィールドタイトル
string   $_order   オーダー(asc | desc)

[ Top ]


Documentation generated on Tue, 19 Mar 2024 17:34:57 +0900 by phpDocumentor 1.4.4