Ferreteria/v0.3/class/cPortalRow database: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:
     protected function FigureSelectSQL($sqlWhere=NULL,$sqlSort=NULL,$sqlOther=NULL) {}
     protected function FigureSelectSQL($sqlWhere=NULL,$sqlSort=NULL,$sqlOther=NULL) {}
</source>
</source>
* '''replaced by''': {{l/ferreteria/class|tQueryableSource}}
* '''replaced by''': {{l/ferreteria/class|tDatabaseStorage}}, {{l/ferreteria/class|tQueryableSource}}
* '''file''': <s>{{l/ferreteria/file|data/portals/rows/storage.php}}</s>
* '''file''': <s>{{l/ferreteria/file|data/portals/rows/storage.php}}</s>
* '''extends''': {{l/ferreteria/class|cPortalRow_storage}}
* '''extends''': {{l/ferreteria/class|cPortalRow_storage}}

Revision as of 14:16, 1 January 2019

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