Class Research_Researcher

Description
  • abstract:

Located in /packages/research/lib/researcher.inc.php (line 2)


	
			
Variable Summary
string $Address
string $Address2
CollectionID[]|CollectionContentID[] $Cart
string $City
string $Email
string $FirstName
integer $ID
string $LastName
string $Password
string $PasswordHash
integer $Pending
string $PendingHash
string $Phone
integer $RegisterTime
ResearcherType $ResearcherType
string $State
string $ZIPCode
string $ZIPPlusFour
Method Summary
boolean dbActivate ()
boolean dbAddToCart ( $CollectionID, [integer $CollectionContentID = 0])
boolean dbDeactivate ()
boolean dbDelete ()
boolean dbDeleteFromCart (integer $CollectionID, [ $CollectionContentID = 0], integer $CollectionContentID[optional])
boolean dbEmptyCart ()
boolean dbLoad ()
boolean dbLoadCart ()
boolean dbSetPassword (string $Password)
boolean dbStore ()
string toString ([ $MakeIntoLink = LINK_NONE], [ $ConcatinateEmail = false], integer $MakeIntoLink[optional], boolean $ConcatinateEmail[optional])
boolean verifyPassword (string $Password)
Variables
string $Address = NULL (line 895)
  • access: public
string $Address2 = NULL (line 900)
  • access: public
CollectionID[]|CollectionContentID[] $Cart = array() (line 962)
  • access: public
string $City = NULL (line 905)
  • access: public
string $Email = NULL (line 870)
  • access: public
string $FirstName = NULL (line 885)
  • access: public
integer $ID = 0 (line 865)
  • access: public
string $LastName = NULL (line 880)
  • access: public
string $Password = NULL (line 952)
  • access: public
string $PasswordHash = NULL (line 875)
  • access: public
integer $Pending = 1 (line 940)
  • access: public
string $PendingHash = NULL (line 945)
  • access: public
string $Phone = NULL (line 925)
  • access: public
string $PhoneExtension = NULL (line 930)
  • access: public
integer $RegisterTime = 0 (line 935)
  • access: public
ResearcherType $ResearcherType = NULL (line 957)
  • access: public
integer $ResearcherTypeID = 0 (line 890)
  • access: public
string $State = NULL (line 910)
  • access: public
string $ZIPCode = NULL (line 915)
  • access: public
string $ZIPPlusFour = NULL (line 920)
  • access: public
Methods
dbActivate (line 9)

Activates Researcher account

  • access: public
boolean dbActivate ()
dbAddToCart (line 67)

Add CollectionID and CollectionContentID to Researcher Cart

  • access: public
boolean dbAddToCart ( $CollectionID, integer $CollectionContentID)
  • integer $CollectionContentID
  • $CollectionID
dbDeactivate (line 160)

Deactivates Researcher account

  • access: public
boolean dbDeactivate ()
dbDelete (line 219)

Deletes Researcher from the database

  • access: public
boolean dbDelete ()
dbDeleteFromCart (line 283)

Delete CollectionID and CollectionContentID from Researcher Cart

  • access: public
boolean dbDeleteFromCart (integer $CollectionID,  $CollectionContentID, integer $CollectionContentID[optional])
  • integer $CollectionID
  • integer $CollectionContentID[optional]
  • $CollectionContentID
dbEmptyCart (line 363)

Clear Researcher Cart

  • access: public
boolean dbEmptyCart ()
dbLoad (line 416)

Loads Researcher from the database

  • access: public
boolean dbLoad ()
dbLoadCart (line 448)

Loads CollectionContentIDs in cart for Researcher instance

  • access: public
boolean dbLoadCart ()
dbSetPassword (line 493)

Sets Researcher Password in the database

  • access: public
boolean dbSetPassword (string $Password)
  • string $Password
dbStore (line 598)

Stores Researcher to the database

  • access: public
boolean dbStore ()
sendConfirmationEmail (line 549)

Sends confirmation e-mail to researcher

  • access: public
boolean sendConfirmationEmail ()
toString (line 781)

Generates a formatted string of the Researcher object

  • access: public
  • todo: Custom Formatting
string toString ([ $MakeIntoLink = LINK_NONE], [ $ConcatinateEmail = false], integer $MakeIntoLink[optional], boolean $ConcatinateEmail[optional])
  • integer $MakeIntoLink[optional]
  • boolean $ConcatinateEmail[optional]
  • $MakeIntoLink
  • $ConcatinateEmail
verifyPassword (line 840)

Verifies a User's Password

  • access: public
boolean verifyPassword (string $Password)
  • string $Password

Documentation generated on Thu, 14 Aug 2008 20:23:10 -0500 by phpDocumentor 1.3.1