Ferreteria/v0.3/class/cPortalRow database: Difference between revisions
< Ferreteria | v0.3 | class
Jump to navigation
Jump to search
(moved trait stuff here) |
No edit summary |
||
Line 1: | Line 1: | ||
{{page/ | {{page/obsolete|ferreteria}} | ||
<source lang=php> | <source lang=php> | ||
class cPortalRow_database extends cPortalRow_storage { | class cPortalRow_database extends cPortalRow_storage { | ||
Line 32: | Line 32: | ||
protected function FigureSelectSQL($sqlWhere=NULL,$sqlSort=NULL,$sqlOther=NULL) {} | protected function FigureSelectSQL($sqlWhere=NULL,$sqlSort=NULL,$sqlOther=NULL) {} | ||
</source> | </source> | ||
* '''file''': {{l/ferreteria/file|data/portals/rows/storage.php}} | * '''replaced by''': {{l/ferreteria/class|tQueryableSource}} | ||
* '''file''': <s>{{l/ferreteria/file|data/portals/rows/storage.php}}</s> | |||
* '''extends''': {{l/ferreteria/class|cPortalRow_storage}} | * '''extends''': {{l/ferreteria/class|cPortalRow_storage}} | ||
* '''uses''': | * '''uses''': |
Revision as of 14:14, 1 January 2019
class cPortalRow_database extends cPortalRow_storage {
use tSourcedStorage;
use tSequentialAccess;
public function RewindRows() {
/*----
ACTION: Retrieves the current row data and advances to the next
RETURNS: row data as an array, or NULL if no more rows
CEMENT
*/
public function NextRow() {
/*----
RETURNS: number of rows in the resultset
CEMENT
*/
public function GetFoundRowCount() {
// TODO: rename to something like IsAnyRowFound()
public function IsRowFound() {
/*----
RETURNS: Nothing
OUTPUT: $this and $this->GetRowObject()
*/
public function FetchRows($sql) {
/*----
RETURNS: nothing
OUTPUT: same as $this->FetchRows()
*/
public function SelectRows($sqlWhere=NULL,$sqlSort=NULL,$sqlOther=NULL) : cResultRows {
public function GetRow_forKey($id) {
protected function FigureSelectSQL($sqlWhere=NULL,$sqlSort=NULL,$sqlOther=NULL) {}
- replaced by: Template:L/ferreteria/class
- file:
Template:L/ferreteria/file - extends: Template:L/ferreteria/class
- uses:
- extenders: none