1
0

improve code docs

This commit is contained in:
Garvin Hicking
2011-01-08 22:31:20 +00:00
parent bf39c311a3
commit 70b1288890
9 changed files with 9 additions and 9 deletions

View File

@ -43,7 +43,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -43,7 +43,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -170,7 +170,7 @@ function serendipity_db_insert_id($table = '', $id = '') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -198,7 +198,7 @@ function serendipity_db_insert_id($table = '', $id = '') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -176,7 +176,7 @@ function serendipity_db_insert_id($table = '', $id = '') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -194,7 +194,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -202,7 +202,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -81,7 +81,7 @@ function serendipity_db_in_sql($col, &$search_ids, $type = ' OR ') {
* *
* This function returns values dependin on the input parameters and the result of the query. * This function returns values dependin on the input parameters and the result of the query.
* It can return: * It can return:
* false if there was an error, * false or a string if there was an error (depends on $expectError),
* true if the query succeeded but did not generate any rows * true if the query succeeded but did not generate any rows
* array of field values if it returned a single row and $single is true * array of field values if it returned a single row and $single is true
* array of array of field values if it returned row(s) [stacked array] * array of array of field values if it returned row(s) [stacked array]

View File

@ -1504,7 +1504,7 @@ class serendipity_plugin
function cleanup() function cleanup()
{ {
// Cleanup. Remove all empty configs on SAVECONF-Submit. // Cleanup. Remove all empty configs on SAVECONF-Submit.
// serendipity_plugin_api::remove_plugin_value($this->instance, array('title', 'description')); // serendipity_plugin_api::remove_plugin_value($this->instance, array('configname1', 'configname2'));
return true; return true;
} }