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

Class: GALSeries

Source Location: /libgallue/series.inc.php

Class Overview

GALRow
   |
   --GALTableRow
      |
      --GALSeries



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 131]


[ Top ]


Class Variables

$_comments =  false

[line 135]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_glb =  false

[line 132]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_images =  false

[line 133]



Tags:

access:  protected

Type:   mixed


[ Top ]

$_vImages =  false

[line 134]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 137]

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



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

Parameters:

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

[ Top ]

method canEdit [line 339]

void canEdit( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method canView [line 329]

void canView( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method countComments [line 266]

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

Counts user comments about this series.

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 countImages [line 241]

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

Counts images which are member of this series.

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 delete [line 304]

void delete( [ $super = false])



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

Parameters:

   $super  

[ Top ]

method get [line 146]

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



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

Parameters:

   $field  
   $super  

[ Top ]

method getID [line 172]

void getID( [ $super = false])



Parameters:

   $super  

[ Top ]

method loadComments [line 213]

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

Loads user comments about this series.

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 loadImages [line 188]

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

Loads images which are member of this series.

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 refresh [line 298]

void refresh( )



[ Top ]

method set [line 286]

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 143]

void __get( $field)



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

Parameters:

   $field  

[ Top ]

method __set [line 282]

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:30 +0200 by phpDocumentor 1.3.0RC6