improve code docs
This commit is contained in:
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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]
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user