Ferreteria/v0.3/class/cPortalRow database

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Revision as of 19:03, 1 January 2019 by htyp>Woozle
Jump to navigation Jump to search

Template:Page/obsolete

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) {}
}