Skip to content

Commit 53e5f8b

Browse files
Update Model_app.php
1 parent 0488137 commit 53e5f8b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

application/models/Model_app.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ private function joinTable ( $join ) {
706706
* Select maximun data
707707
* @param [string] $fields [fields's for finding max]
708708
* @param string $table [table's name]
709+
* @param array $join [using join statement]
709710
* @return [type] [description]
710711
* ======================================
711712
* Example :
@@ -740,6 +741,7 @@ function max ( $fields, $where = false, $table = false, $join = false ) {
740741
* Select minimun data
741742
* @param [string] $fields [fields's for finding min]
742743
* @param string $table [table's name]
744+
* @param array $join [using join statement]
743745
* @return [type] [description]
744746
* ======================================
745747
* Example :
@@ -774,6 +776,7 @@ function min ( $fields, $where = false, $table = false, $join = false ) {
774776
* Select average data
775777
* @param [string] $fields [fields's for finding average]
776778
* @param string $table [table's name]
779+
* @param array $join [using join statement]
777780
* @return [type] [description]
778781
* ======================================
779782
* Example :
@@ -808,6 +811,7 @@ function avg ( $fields, $where = false, $table = false, $join = false ) {
808811
* Select sum of data
809812
* @param [string] $fields [fields's for finding sum]
810813
* @param string $table [table's name]
814+
* @param array $join [using join statement]
811815
* @return [type] [description]
812816
* ======================================
813817
* Example :
@@ -842,6 +846,7 @@ function sum ( $fields, $where = false, $table = false, $join = false ) {
842846
* Counts the data using condition, return num rows of data being search
843847
* @param [array] $where [array key value pair for each columns and value]
844848
* @param string $table [table's name]
849+
* @param array $join [using join statement]
845850
* @return [type] [description]
846851
* ====================================
847852
* Example :
@@ -874,6 +879,7 @@ function count ( $where = false, $table = false, $join = false ) {
874879
* select where data with AND clause/condition
875880
* @param [string] $arrValue [column's name]
876881
* @param string $table [table's name]
882+
* @param array $join [using join statement]
877883
* @return [type] [description]
878884
* =====================================
879885
* Example :
@@ -901,6 +907,7 @@ function where ( $arrValue, $table = false, $join = false ) {
901907
* select where data with OR clause/condition
902908
* @param [string] $arrValue [column's name]
903909
* @param string $table [table's name]
910+
* @param array $join [using join statement]
904911
* @return [type] [description]
905912
* =====================================
906913
* Example :
@@ -928,6 +935,7 @@ function or_where ( $arrValue, $table = false, $join = false ) {
928935
* select having data with AND clause/condition
929936
* @param [string] $arrValue [column's name]
930937
* @param string $table [table's name]
938+
* @param array $join [using join statement]
931939
* @return [type] [description]
932940
* =====================================
933941
* Example :
@@ -955,6 +963,7 @@ function having ( $arrValue, $table = false, $join = false ) {
955963
* select having data with OR clause/condition
956964
* @param [string] $arrValue [column's name]
957965
* @param string $table [table's name]
966+
* @param array $join [using join statement]
958967
* @return [type] [description]
959968
* =====================================
960969
* Example :
@@ -982,6 +991,7 @@ function or_having ( $arrValue, $table = false, $join = false ) {
982991
* select where in data with AND clause/condition
983992
* @param [string] $arrValue [column's name]
984993
* @param string $table [table's name]
994+
* @param array $join [using join statement]
985995
* @return [type] [description]
986996
* =====================================
987997
* Example :
@@ -1011,6 +1021,7 @@ function where_in ( $arrValue, $table = false, $join = false ) {
10111021
* select where in data with OR clause/condition
10121022
* @param [string] $arrValue [column's name]
10131023
* @param string $table [table's name]
1024+
* @param array $join [using join statement]
10141025
* @return [type] [description]
10151026
* =====================================
10161027
* Example :
@@ -1040,6 +1051,7 @@ function or_where_in ( $arrValue, $table = false, $join = false ) {
10401051
* select where NOT in data with AND clause/condition
10411052
* @param [string] $arrValue [column's name]
10421053
* @param string $table [table's name]
1054+
* @param array $join [using join statement]
10431055
* @return [type] [description]
10441056
* =====================================
10451057
* Example :
@@ -1069,6 +1081,7 @@ function where_not_in ( $arrValue, $table = false, $join = false ) {
10691081
* select where NOT in data with OR clause/condition
10701082
* @param [string] $arrValue [column's name]
10711083
* @param string $table [table's name]
1084+
* @param array $join [using join statement]
10721085
* @return [type] [description]
10731086
* =====================================
10741087
* Example :
@@ -1099,6 +1112,7 @@ function or_where_not_in ( $arrValue, $table = false, $join = false ) {
10991112
* %% will placed both left and right
11001113
* @param [array] $fields [column to search | key-value pair array]
11011114
* @param string $table [table's name]
1115+
* @param array $join [using join statement]
11021116
* @return [type] [description]
11031117
* =====================================
11041118
* Example :
@@ -1129,6 +1143,7 @@ function like ( $arrValue, $table = false, $join = false ) {
11291143
* % will placed left only
11301144
* @param [array] $fields [column to search]
11311145
* @param string $table [table's name]
1146+
* @param array $join [using join statement]
11321147
* @return [type] [description]
11331148
* =====================================
11341149
* Example :
@@ -1159,6 +1174,7 @@ function like_before ( $arrValue, $table = false, $join = false ) {
11591174
* % will placed right only
11601175
* @param [array] $fields [column to search]
11611176
* @param string $table [table's name]
1177+
* @param array $join [using join statement]
11621178
* @return [type] [description]
11631179
* =====================================
11641180
* Example :
@@ -1189,6 +1205,7 @@ function like_after ( $arrValue, $table = false, $join = false ) {
11891205
* %% will placed both left and right
11901206
* @param [array] $fields [column to search | key-value pair array]
11911207
* @param string $table [table's name]
1208+
* @param array $join [using join statement]
11921209
* @return [type] [description]
11931210
* =====================================
11941211
* Example :
@@ -1219,6 +1236,7 @@ function or_like ( $arrValue, $table = false, $join = false ) {
12191236
* % will placed left only
12201237
* @param [array] $fields [column to search]
12211238
* @param string $table [table's name]
1239+
* @param array $join [using join statement]
12221240
* @return [type] [description]
12231241
* =====================================
12241242
* Example :
@@ -1249,6 +1267,7 @@ function or_like_before ( $arrValue, $table = false, $join = false ) {
12491267
* % will placed right only
12501268
* @param [array] $fields [column to search]
12511269
* @param string $table [table's name]
1270+
* @param array $join [using join statement]
12521271
* @return [type] [description]
12531272
* =====================================
12541273
* Example :
@@ -1279,6 +1298,7 @@ function or_like_after ( $arrValue, $table = false, $join = false ) {
12791298
* %% will placed both left and right
12801299
* @param [array] $fields [column to search | key-value pair array]
12811300
* @param string $table [table's name]
1301+
* @param array $join [using join statement]
12821302
* @return [type] [description]
12831303
* =====================================
12841304
* Example :
@@ -1309,6 +1329,7 @@ function not_like ( $arrValue, $table = false, $join = false ) {
13091329
* % will placed left only
13101330
* @param [array] $fields [column to search]
13111331
* @param string $table [table's name]
1332+
* @param array $join [using join statement]
13121333
* @return [type] [description]
13131334
* =====================================
13141335
* Example :
@@ -1339,6 +1360,7 @@ function not_like_before ( $arrValue, $table = false, $join = false ) {
13391360
* % will placed right only
13401361
* @param [array] $fields [column to search]
13411362
* @param string $table [table's name]
1363+
* @param array $join [using join statement]
13421364
* @return [type] [description]
13431365
* =====================================
13441366
* Example :
@@ -1369,6 +1391,7 @@ function not_like_after ( $arrValue, $table = false, $join = false ) {
13691391
* %% will placed both left and right
13701392
* @param [array] $fields [column to search | key-value pair array]
13711393
* @param string $table [table's name]
1394+
* @param array $join [using join statement]
13721395
* @return [type] [description]
13731396
* =====================================
13741397
* Example :
@@ -1399,6 +1422,7 @@ function or_not_like ( $arrValue, $table = false, $join = false ) {
13991422
* % will placed left only
14001423
* @param [array] $fields [column to search]
14011424
* @param string $table [table's name]
1425+
* @param array $join [using join statement]
14021426
* @return [type] [description]
14031427
* =====================================
14041428
* Example :
@@ -1429,6 +1453,7 @@ function or_not_like_before ( $arrValue, $table = false, $join = false ) {
14291453
* % will placed right only
14301454
* @param [array] $fields [column to search]
14311455
* @param string $table [table's name]
1456+
* @param array $join [using join statement]
14321457
* @return [type] [description]
14331458
* =====================================
14341459
* Example :

0 commit comments

Comments
 (0)