Property:SMC parameters From Online Manual

Jump to: navigation, search
Showing 20 pages using this property.
D
<ul><li>'''$result''' a resource returned from a [[db_query|query]].</li></ul>  +
H
<ul><li>'''$str''' - The string that will be converted.</li><li>'''$quote_style''' - Bitmask flag on how to handle the string (optional).</li><li>'''$charset''' - The character set of the string (optional).</li></ul>  +
D
<ul><li>'''cleaned_string''' the string to be unescaped.</li></ul>  +
<ul><li>'''connection''' the database connection.</li></ul>  +
<ul><li>'''connection''' the database connection.</li></ul>  +
<ul><li>'''connection''' the database connection.</li></ul>  +
<ul><li>'''database_name''' The name of the database you want to switch to.</li><li>'''connection''' </li></ul>  +
<ul><li>'''identifier''' is used to identify specific query types in which it is necessary to replace portions of the query for compatability across all Database Management Systems supported by SMF. The query must be written for MYSQL. The db_query function will alter the query.<ul><li>'''substring''' for the SQLite database, '''SUBSTRING''' will be replaced by '''SUBSTR'''</li><li>'''See the function smf_db_query''' in Subs-Db-<abbr title="mysql, postgresql, sqlite">{dbms}</abbr>.php for the full list of replacements.</li></ul></li><li>'''query''' the query to execute.</li><li>'''values''' is an array of values you are intending to use in the query.</li><li>'''connection''' the database connection.</li></ul>  +
<ul><li>'''method''' tells how to change the data. Accepts "replace" "ignore" or "insert" (default ''replace'').</li><li>'''table''' the table where the data will be changed on.</li><li>'''columns''' An array ( column_name => input_type) set that holds all column names that will be changed and their expected input type.</li><li>'''data''' holds an array that must be as long as the column array with all the data that will be used.</li><li>'''keys''' is supposed to hold the tables key information, only affect sqlite and postrgresql (when using "replace").</li><li>'''disable_trans''' .</li><li>'''connection''' the database connection.</li></ul>  +
<ul><li>'''query''' the query (or part of it) to be formatted</li><li>'''values''' is an array of values you are intending to use in the query.</li><li>'''connection''' the database connection to be used.</li></ul>  +
<ul><li>'''result''' a query resource as returned by [[db_query]].</li></ul>  +
<ul><li>'''result''' a query resource as returned for example by [[db_query]]</li></ul>  +
<ul><li>'''result''' a query resource obtained with [[db_query]].</li></ul>  +
<ul><li>'''result''' a query resource obtained with [[db_query]].</li><li>'''row_number''' is the row number you wish the pointer to be at.</li></ul>  +
<ul><li>'''result''' a query resource.</li></ul>  +
H
<ul><li>'''string''' the string that will be trimmed.</li></ul>  +
D
<ul><li>'''table''' holds the table name that was affected.</li><li>'''field''' holds the name of the field that was affected.</li><li>'''connection''' the database connection.</li></ul>  +
<ul><li>'''table_name''' (''string'') the name of an existing table</li><li>'''parameters''' (''array'') deprecated</li><li>'''error''' (''string'') deprecated</li></ul>  +
<ul><li>'''table_name''' (''string'') the name of an existing table</li><li>'''detail''' (''boolean'') if true a formatted array will be returned of the index info, otherwise the plain straight index info is returned. The detailed array is 'name', 'type', 'columns'</li><li>'''parameters''' (''array'') not used</li></ul>  +
<ul><li>'''table_name''' (''string'') the name of an existing table.</li></ul>  +


Advertisement: