[ Index ] |
PHP Cross Reference of osCMax 2.0.4 |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 145 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
query($strQuery) X-Ref |
author: Sam West aka Nimmit - [email protected] return: query reference |
fetchArray($ref) X-Ref |
Fetches the next array from a mysql query reference author: Sam West aka Nimmit - [email protected] param: $ref - referece from a mysql query return: array |
numFields($ref) X-Ref |
Gets the field count from a mysql query reference author: Tomasz Iwanow aka TomaszBG - [email protected] param: $ref - referece from a mysql query return: int - number of fields in result |
fieldName($ref,$offset) X-Ref |
Gets the field name from a mysql query reference author: Tomasz Iwanow aka TomaszBG - [email protected] param: $ref - referece from a mysql query param: $offset - offset of a field return: string - name of the field |
numRows($ref) X-Ref |
Counts the number of results from a mysql query referece author: Sam West aka Nimmit - [email protected] param: $ref - reference from a mysql query return: int - number of rows in result |
perform($strTable,$arrData,$strAction='insert',$strParams='') X-Ref |
peforms inserts / updates author: Sam West aka Nimmit - [email protected] param: $strTable string tablename param: $arrData array data to be inserted/ updated param: $strAction sting - update / insert param: $strParams string additonal where clauses return: void |
getOne($strQuery) X-Ref |
Returns a singular result from a mysql query param: $strQuery string - mysql query return: mixed - first record, first row |
getAll($strQuery) X-Ref |
Returns all results from a mysql query author: Sam West aka Nimmit - [email protected] param: $strQuery string - mysql query return: array - all results |
input($str) X-Ref |
Prepares string for database input author: Sam West aka Nimmit - [email protected] param: $str string return: void |
getNextAutoValue($strTable,$strField) X-Ref |
Returns placebo autoincrement value param: $strTable string table name param: $strField string field name return: mixed |
insertId($link = 'db_link' ) X-Ref |
Some contributions such as the Ultimate SEO URLs have there own database functions. This can cause the internal, last insert id to be wrong if the link id isn't included in the mysql_insert_id statement. For this reason i have not used the default osc function for this one as for some reason they haven't put the link in their wrapper function. author: Sam West aka Nimmit - [email protected] param: $link sting - db link name return: void |
Generated: Fri Jan 1 13:43:16 2010 | Cross-referenced by PHPXref 0.7 |