Skip to content

Commit

Permalink
Update Model_app.php
Browse files Browse the repository at this point in the history
  • Loading branch information
metallurgical authored Mar 20, 2017
1 parent 0488137 commit 53e5f8b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions application/models/Model_app.php
Original file line number Diff line number Diff line change
Expand Up @@ -706,6 +706,7 @@ private function joinTable ( $join ) {
* Select maximun data
* @param [string] $fields [fields's for finding max]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* ======================================
* Example :
Expand Down Expand Up @@ -740,6 +741,7 @@ function max ( $fields, $where = false, $table = false, $join = false ) {
* Select minimun data
* @param [string] $fields [fields's for finding min]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* ======================================
* Example :
Expand Down Expand Up @@ -774,6 +776,7 @@ function min ( $fields, $where = false, $table = false, $join = false ) {
* Select average data
* @param [string] $fields [fields's for finding average]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* ======================================
* Example :
Expand Down Expand Up @@ -808,6 +811,7 @@ function avg ( $fields, $where = false, $table = false, $join = false ) {
* Select sum of data
* @param [string] $fields [fields's for finding sum]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* ======================================
* Example :
Expand Down Expand Up @@ -842,6 +846,7 @@ function sum ( $fields, $where = false, $table = false, $join = false ) {
* Counts the data using condition, return num rows of data being search
* @param [array] $where [array key value pair for each columns and value]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* ====================================
* Example :
Expand Down Expand Up @@ -874,6 +879,7 @@ function count ( $where = false, $table = false, $join = false ) {
* select where data with AND clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -901,6 +907,7 @@ function where ( $arrValue, $table = false, $join = false ) {
* select where data with OR clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -928,6 +935,7 @@ function or_where ( $arrValue, $table = false, $join = false ) {
* select having data with AND clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -955,6 +963,7 @@ function having ( $arrValue, $table = false, $join = false ) {
* select having data with OR clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -982,6 +991,7 @@ function or_having ( $arrValue, $table = false, $join = false ) {
* select where in data with AND clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1011,6 +1021,7 @@ function where_in ( $arrValue, $table = false, $join = false ) {
* select where in data with OR clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1040,6 +1051,7 @@ function or_where_in ( $arrValue, $table = false, $join = false ) {
* select where NOT in data with AND clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1069,6 +1081,7 @@ function where_not_in ( $arrValue, $table = false, $join = false ) {
* select where NOT in data with OR clause/condition
* @param [string] $arrValue [column's name]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1099,6 +1112,7 @@ function or_where_not_in ( $arrValue, $table = false, $join = false ) {
* %% will placed both left and right
* @param [array] $fields [column to search | key-value pair array]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1129,6 +1143,7 @@ function like ( $arrValue, $table = false, $join = false ) {
* % will placed left only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1159,6 +1174,7 @@ function like_before ( $arrValue, $table = false, $join = false ) {
* % will placed right only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1189,6 +1205,7 @@ function like_after ( $arrValue, $table = false, $join = false ) {
* %% will placed both left and right
* @param [array] $fields [column to search | key-value pair array]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1219,6 +1236,7 @@ function or_like ( $arrValue, $table = false, $join = false ) {
* % will placed left only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1249,6 +1267,7 @@ function or_like_before ( $arrValue, $table = false, $join = false ) {
* % will placed right only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1279,6 +1298,7 @@ function or_like_after ( $arrValue, $table = false, $join = false ) {
* %% will placed both left and right
* @param [array] $fields [column to search | key-value pair array]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1309,6 +1329,7 @@ function not_like ( $arrValue, $table = false, $join = false ) {
* % will placed left only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1339,6 +1360,7 @@ function not_like_before ( $arrValue, $table = false, $join = false ) {
* % will placed right only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1369,6 +1391,7 @@ function not_like_after ( $arrValue, $table = false, $join = false ) {
* %% will placed both left and right
* @param [array] $fields [column to search | key-value pair array]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1399,6 +1422,7 @@ function or_not_like ( $arrValue, $table = false, $join = false ) {
* % will placed left only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down Expand Up @@ -1429,6 +1453,7 @@ function or_not_like_before ( $arrValue, $table = false, $join = false ) {
* % will placed right only
* @param [array] $fields [column to search]
* @param string $table [table's name]
* @param array $join [using join statement]
* @return [type] [description]
* =====================================
* Example :
Expand Down

0 comments on commit 53e5f8b

Please sign in to comment.