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

Class: OrderBy

Source Location: /flatfile.php

Class Overview


Stores information about an ORDER BY clause


Variables

Methods



Class Details

[line 554]
Stores information about an ORDER BY clause

Can be passed to selectWhere to order the output. It is easiest to use the constructor to set the fields, rather than setting each individually




[ Top ]


Class Variables

$compareAs =

[line 560]



Tags:

var:  Comparison type

Type:   int


[ Top ]

$field =

[line 556]



Tags:

var:  Index of field to order by

Type:   int


[ Top ]

$orderType =

[line 558]



Tags:

var:  Order type - ASCENDING or DESCENDING

Type:   int


[ Top ]



Class Methods


constructor OrderBy [line 567]

OrderBy OrderBy( int $field, int $orderType, [int $compareAs = STRING_COMPARISON])

Creates a new OrderBy structure



Parameters:

int   $field   The index of the field to order by
int   $orderType   ASCENDING or DESCENDING
int   $compareAs   Comparison type: STRING_COMPARISON or INTEGER_COMPARISION

[ Top ]


Documentation generated on Sat, 5 Mar 2005 02:26:26 +0000 by phpDocumentor 1.3.0RC3