phpDocumentor db
[ class tree: db ] [ index: db ] [ all elements ]

Class: QueryLogin

Source Location: /myphp-1.9/myphp-1.9-db/html/query/QueryLogin.php

Class QueryLogin

Class Overview

The Query object, which will supply all the sql for the Login

  1. Usage:
  2. $query = new QueryLogin();
  3. print $query->get($table,$id,$sid,$translate,$orderby);
  4. Or
  5. $query = QueryLogin::get($table,$id,$sid,$translate,$orderby);

Located in /myphp-1.9/myphp-1.9-db/html/query/QueryLogin.php [line 29]

Query
   |
   --QueryLogin

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Query

Query::Query()
Constructor
Query::from()
Return the FROM part of the query
Query::get()
Return the query specified
Query::groupby()
Return the GROUP BY part of the query
Query::having()
Return the HAVING part of the query
Query::limit()
Return the LIMIT [$skip,] $show The Limit part of the query
Query::orderby()
Return the ORDER BY part of the query
Query::select()
Return the SELECT part of the query
Query::translate()
Return the translated SQL to language specific
Query::where()
Return the WHERE part of the query

[ Top ]
Method Summary
QueryLogin   QueryLogin()   Constructor
String   email()   Return the query specified
String   get()   Return the query specified
String   getUsernamePassword()   Return the query specified
String   password()   Return the query specified
String   select()   Return the SELECT part of the query
String   validate()   Return the query specified

[ Top ]
Methods
Constructor QueryLogin  [line 33]

  QueryLogin QueryLogin( )

Constructor



[ Top ]
email  [line 83]

  String email( String $table, [String $email = '']  )

Return the query specified

Parameters:
String   $table:  The table to use
String   $email:  The where to use

API Tags:
Return:  The requested query
Static:  


[ Top ]
get  [line 133]

  String get( String $table, [String $id = ''], [String $sid = ''], [boolean $translate = true], [String $orderby = ''], [String $sort = ''], [String $skip = ''], [String $show = '']  )

Return the query specified

Parameters:
String   $table:  The table to use
String   $id:  The primary key to use
String   $sid:  The foreign key to use
boolean   $translate:  The query is translated to language (true)
String   $orderby:  The Order By to use
String   $sort:  The sort order asc/desc
String   $skip:  The skip number of lines
String   $show:  The number to show

API Tags:
Return:  The requested query
Static:  


Redefinition of:
Query::get()
Return the query specified

[ Top ]
getUsernamePassword  [line 70]

  String getUsernamePassword( String $table  )

Return the query specified

Parameters:
String   $table:  The table to use

API Tags:
Return:  The requested query
Static:  


[ Top ]
password  [line 114]

  String password( String $table  )

Return the query specified

Parameters:
String   $table:  The table to use

API Tags:
Return:  The requested query
Static:  


[ Top ]
select  [line 45]

  String select( String $table, [boolean $translate = true]  )

Return the SELECT part of the query

Parameters:
String   $table:  The table to use
boolean   $translate:  The query is translated to language (true)

API Tags:
Return:  The requested query
Global:  DEFINE_SELECT_BASKET 0: The Select Table for the Basket
Static:  


Redefinition of:
Query::select()
Return the SELECT part of the query

[ Top ]
validate  [line 98]

  String validate( String $table, [String $username = ''], [String $password = ''], [String $email = '']  )

Return the query specified

Parameters:
String   $table:  The table to use
String   $username:  The username to use
String   $password:  The password to use (encrypted)
String   $email:  The email to use

API Tags:
Return:  The requested query
Static:  


[ Top ]

Documentation generated on Thu, 22 Dec 2005 17:16:07 +0100 by phpDocumentor 1.3.0RC3