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

Class: GALHelp

Source Location: /libgallue/help.inc.php

Class Overview

GALRow
   |
   --GALTableRow
      |
      --GALHelp



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


[ Top ]


Class Variables

$_glb =

[line 137]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 139]

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



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

Parameters:

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

[ Top ]

method canEdit [line 196]

void canEdit( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method canView [line 192]

void canView( GALUser $user)



Parameters:

GALUser   $user  

[ Top ]

method delete [line 178]

void delete( [ $super = false])



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

Parameters:

   $super  

[ Top ]

method get [line 147]

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



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

Parameters:

   $field  
   $super  

[ Top ]

method getID [line 162]

int getID( [ $super = false])

The help ID.

This method provides access to the help ID without knowing the name of the primary key field. This method is implemented by all classes whose tables have a single numerical primary key.




Tags:

return:  The help ID.


Parameters:

   $super  

[ Top ]

method set [line 170]

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

void __get( $field)



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

Parameters:

   $field  

[ Top ]

method __set [line 166]

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