SourceForge.net LogoPHPGallue
[ class tree: libgallue ] [ index: libgallue ] [ all elements ]

Class: GALUser

Source Location: /libgallue/user.inc.php

Class Overview

GALRow
   |
   --GALTableRow
      |
      --GALUser



Variables

Methods


Inherited Variables

Inherited Methods

Class: GALTableRow

GALTableRow::__construct()
Initializes this object.
GALTableRow::delete()
Deletes this row from the database.
GALTableRow::getParent()
Returns the top level parent of this row.
GALTableRow::set()
Sets the specified field of this row to the specified value.
GALTableRow::__set()
Magic method to set a field of this row almost like a native PHP property.

Class: GALRow

GALRow::__construct()
Initializes a row.
GALRow::countFields()
Returns the number of fields contained in a result.
GALRow::get()
Returns the value of a field.
GALRow::getData()
Provides access to the stored data.
GALRow::getFields()
Returns all fields contained in this result.
GALRow::getFlags()
Gets the flags of the given field.
GALRow::getLength()
Gets the length of the given field.
GALRow::getParent()
Returns the top level parent of an entity.
GALRow::getTable()
Gets the name of the table the given field is contained in.
GALRow::getType()
Gets the type of the given field.
GALRow::isField()
Checks if the given field is contained in a result.
GALRow::__destruct()
Deletes the stored data and sets $_dead to TRUE.
GALRow::__get()
Magic method to access this row's fields like native PHP properties.

Class Details

[line 291]


[ Top ]


Class Variables

$_categories =  false

[line 295]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_comments =  false

[line 299]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_films =  false

[line 294]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_glb =  false

[line 292]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_groups =  false

[line 296]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_images =  false

[line 297]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_logins =  false

[line 300]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_series =  false

[line 293]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_tokens =  false

[line 301]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_vImages =  false

[line 298]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 303]

GALUser __construct( GALGallery $glb, $result, &$data, $table)



Overrides GALTableRow::__construct() (Initializes this object.)

Parameters:

GALGallery   $glb  
GALResult   $result  
   &$data  
GALTable   $table  

[ Top ]

method canEdit [line 836]

void canEdit( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method canSelfEdit [line 840]

void canSelfEdit( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method canView [line 831]

void canView( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method checkPassword [line 826]

void checkPassword( $password)



Parameters:

   $password  

[ Top ]

method countCategories [line 648]

GALCategoryIterator countCategories( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts categories owned by this user.

It adds a comparison expression and ordering by categoryID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countComments [line 723]

GALCommentIterator countComments( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts user comments by this user.

It adds a comparison expression and ordering by commentID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countFilms [line 623]

GALFilmIterator countFilms( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts films owned by this user.

It adds a comparison expression and ordering by filmID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countGroups [line 673]

GALGroupIterator countGroups( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts groups owned by this user.

It adds a comparison expression and ordering by groupID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countImages [line 698]

GALImageIterator countImages( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts images owned by this user.

It adds a comparison expression and ordering by imageID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countLogins [line 748]

GALLoginIterator countLogins( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts logins of this user.

It adds a comparison expression and ordering by loginID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countSeries [line 598]

GALSeriesIterator countSeries( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts series owned by this user.

It adds a comparison expression and ordering by seriesID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method countTokens [line 773]

GALTokenIterator countTokens( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Counts tokens of this user.

It adds a comparison expression and ordering by tokenID to the arguments and passes them to GALTable::extendedCount().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method delete [line 869]

void delete( [ $super = false])



Overrides GALTableRow::delete() (Deletes this row from the database.)

Parameters:

   $super  

[ Top ]

method get [line 312]

void get( $field, [ $super = true])



Overrides GALRow::get() (Returns the value of a field.)

Parameters:

   $field  
   $super  

[ Top ]

method getID [line 382]

void getID( [ $super = false])



Parameters:

   $super  

[ Top ]

method isLoggedIn [line 823]

void isLoggedIn( )



[ Top ]

method loadCategories [line 448]

GALCategoryIterator loadCategories( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads categories owned by this user.

It adds a comparison expression and ordering by categoryID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadComments [line 523]

GALCommentIterator loadComments( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads user comments by this user.

It adds a comparison expression and ordering by commentID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadFilms [line 423]

GALFilmIterator loadFilms( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads films owned by this user.

It adds a comparison expression and ordering by filmID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadGroups [line 473]

GALGroupIterator loadGroups( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads groups owned by this user.

It adds a comparison expression and ordering by groupID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadImages [line 498]

GALImageIterator loadImages( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads images owned by this user.

It adds a comparison expression and ordering by imageID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadLogins [line 548]

GALLoginIterator loadLogins( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads logins of this user.

It adds a comparison expression and ordering by loginID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadSeries [line 398]

GALSeriesIterator loadSeries( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads series owned by this user.

It adds a comparison expression and ordering by seriesID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method loadTokens [line 573]

GALTokenIterator loadTokens( $expr, [GALOrder $order = ""], [string $limit = ""], [string $additional = ""], [bool $super = false])

Loads tokens of this user.

It adds a comparison expression and ordering by tokenID to the arguments and passes them to GALTable::extendedLoad().




Tags:



Parameters:

GALExpression   $expr  
GALOrder   $order   Can also be an empty string or a string containing sth. like "`title` DESC".
string   $limit  
string   $additional  
bool   $super   If set to TRUE, access control is overridden.

[ Top ]

method login [line 852]

void login( $password)



Parameters:

   $password  

[ Top ]

method logout [line 861]

void logout( )



[ Top ]

method refresh [line 811]

void refresh( )



[ Top ]

method set [line 790]

void set( $field, $value, [ $super = false])



Overrides GALTableRow::set() (Sets the specified field of this row to the specified value.)

Parameters:

   $field  
   $value  
   $super  

[ Top ]

method __get [line 309]

void __get( $field)



Overrides GALRow::__get() (Magic method to access this row's fields like native PHP properties.)

Parameters:

   $field  

[ Top ]

method __set [line 786]

void __set( $field, $value)



Overrides GALTableRow::__set() (Magic method to set a field of this row almost like a native PHP property.)

Parameters:

   $field  
   $value  

[ Top ]


Documentation generated on Wed, 16 Aug 2006 15:36:50 +0200 by phpDocumentor 1.3.0RC6