dbscript
[ class tree: dbscript ] [ index: dbscript ] [ all elements ]

Class: RecordSet

Source Location: /recordset.php

Class Overview


Record Set


Author(s):

Version:

  • 0.1.2

Variables

Methods



Class Details

[line 36]
Record Set

RecordSets are objects comprised of a join query result resource and a lazy-loading iterator for each table in the result.

Usage:

  1.  $rs $db->get_recordset$people->get_query );
  2.  
  3.  while $Person $rs->MoveNext() )
  4.    print $Person->name;

More info... http://dbscript.net/recordset




Tags:

version:  0.1.2
access:  public
author:  Brian Hendrickson <brian@dbscript.net>


[ Top ]


Class Variables

$activerow =

[line 46]


Type:   mixed


[ Top ]

$fieldlist =

[line 42]


Type:   mixed


[ Top ]

$iterator =

[line 45]


Type:   mixed


[ Top ]

$query =

[line 38]


Type:   mixed


[ Top ]

$relations =

[line 47]


Type:   mixed


[ Top ]

$result =

[line 40]


Type:   mixed


[ Top ]

$rowcount =

[line 41]


Type:   mixed


[ Top ]

$rowmap =

[line 44]


Type:   mixed


[ Top ]

$table =

[line 39]


Type:   mixed


[ Top ]

$tablelist =

[line 43]


Type:   mixed


[ Top ]



Class Methods


constructor RecordSet [line 49]

RecordSet RecordSet( $sql)



Parameters:

   $sql  

[ Top ]

method FirstChild [line 122]

void FirstChild( $parent_pkval, $table)



Parameters:

   $parent_pkval  
   $table  

[ Top ]

method Load [line 144]

void Load( $table, $row)



Parameters:

   $table  
   $row  

[ Top ]

method MoveFirst [line 96]

void MoveFirst( $table)



Parameters:

   $table  

[ Top ]

method MoveNext [line 107]

void MoveNext( [ $table = NULL])



Parameters:

   $table  

[ Top ]

method NextChild [line 133]

void NextChild( $parent_pkval, $table)



Parameters:

   $parent_pkval  
   $table  

[ Top ]

method num_rows [line 173]

void num_rows( $table)



Parameters:

   $table  

[ Top ]

method rewind [line 160]

void rewind( )



[ Top ]


Documentation generated on Mon, 19 Feb 2007 10:25:02 -0800 by phpDocumentor 1.3.1