mirror of
https://github.com/dg/dibi.git
synced 2025-08-13 09:34:30 +02:00
minor: renamed resultset -> resultSet
This commit is contained in:
@@ -389,7 +389,7 @@ class DibiConnection extends /*Nette::*/Object
|
||||
|
||||
|
||||
/**
|
||||
* Decodes data from resultset.
|
||||
* Decodes data from result set.
|
||||
*
|
||||
* @param string value
|
||||
* @param string type (dibi::FIELD_BINARY)
|
||||
|
@@ -113,7 +113,7 @@ class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
|
||||
|
||||
/**
|
||||
* Returns the resultset resource.
|
||||
* Returns the result set resource.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
@@ -320,7 +320,7 @@ class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
$limit = $limit === NULL ? -1 : (int) $limit;
|
||||
$this->seek((int) $offset);
|
||||
$row = $this->fetch();
|
||||
if (!$row) return array(); // empty resultset
|
||||
if (!$row) return array(); // empty result set
|
||||
|
||||
$data = array();
|
||||
if ($simplify && !$this->objects && count($row) === 1) {
|
||||
@@ -358,7 +358,7 @@ class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
{
|
||||
$this->seek(0);
|
||||
$row = $this->fetch(FALSE);
|
||||
if (!$row) return array(); // empty resultset
|
||||
if (!$row) return array(); // empty result set
|
||||
|
||||
$data = NULL;
|
||||
$assoc = explode(',', $assoc);
|
||||
@@ -441,7 +441,7 @@ class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
{
|
||||
$this->seek(0);
|
||||
$row = $this->fetch(FALSE);
|
||||
if (!$row) return array(); // empty resultset
|
||||
if (!$row) return array(); // empty result set
|
||||
|
||||
$data = array();
|
||||
|
||||
@@ -610,7 +610,7 @@ class DibiResult extends /*Nette::*/Object implements IDataSource
|
||||
}
|
||||
|
||||
if ($none) {
|
||||
echo '<p><em>empty resultset</em></p>';
|
||||
echo '<p><em>empty result set</em></p>';
|
||||
} else {
|
||||
echo "</tbody>\n</table>\n";
|
||||
}
|
||||
|
@@ -154,7 +154,7 @@ interface IDibiDriver
|
||||
|
||||
|
||||
/**
|
||||
* Decodes data from resultset.
|
||||
* Decodes data from result set.
|
||||
*
|
||||
* @param string value
|
||||
* @param string type (dibi::FIELD_BINARY)
|
||||
@@ -211,7 +211,7 @@ interface IDibiDriver
|
||||
/**
|
||||
* Frees the resources allocated for this result set.
|
||||
*
|
||||
* @param resource resultset resource
|
||||
* @param resource result set resource
|
||||
* @return void
|
||||
*/
|
||||
function free();
|
||||
@@ -238,7 +238,7 @@ interface IDibiDriver
|
||||
|
||||
|
||||
/**
|
||||
* Returns the resultset resource.
|
||||
* Returns the result set resource.
|
||||
*
|
||||
* @return mixed
|
||||
*/
|
||||
|
Reference in New Issue
Block a user