Class NewsletterRecipientCollection
	
	
Newsletter Collection class.
	 
	
		- 
			cGenericDb
			
			
			
		
- 
			 cItemBaseAbstract cItemBaseAbstract
- 
			 ItemCollection ItemCollection
- 
			 NewsletterRecipientCollection NewsletterRecipientCollection
	Methods summary
	
		| 
			 public 
			
			
			 |  | 
	
		| 
			 public 
			
			
			 | 
		#
		create( string $sEMail, string $sName = "", integer $iConfirmed = 0, string $sJoinID = "", integer $iMessageType = 0 )
			
Creates a new recipient Parameters
					$sEMailstring$sEMail Specifies the e-mail adress
$sNamestring$sName Specifies the recipient name (optional)
$iConfirmedinteger$iConfirmed Specifies, if the recipient is confirmed (optional)
$sJoinIDstring$sJoinID Specifies additional recipient group ids to join (optional, e.g.
47,12,...)
$iMessageTypeinteger$iMessageType Specifies the message type for the recipient (0 = text, 1 = html)
 | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		delete( mixed $itemID )
			
Overridden delete method to remove recipient from groupmember table before
deleting recipient 
			
Overridden delete method to remove recipient from groupmember table before
deleting recipient Parameters
					$itemIDmixed$itemID int specifies the recipient
Returns
					boolean
 Overrides | 
	
		| 
			 public 
			integer
			
			 | 
		#
		purge( mixed $timeframe )
			
Purge method to delete recipients which hasn't been confirmed since over a
month 
			
Purge method to delete recipients which hasn't been confirmed since over a
month Parameters
					$timeframemixed$timeframe int Days after creation a not confirmed recipient will be removed
Returns
					integerCount of deleted recipients
 
 | 
	
		| 
			 public 
			recpient
			
			 | 
		#
		emailExists( mixed $sEmail )
			
checkEMail returns true, if there is no recipient with the same e-mail
address; otherwise false 
			
checkEMail returns true, if there is no recipient with the same e-mail
address; otherwise false Parameters
					$sEmailmixed$email string e-mail
Returns
					recpientitem if item with e-mail exists, false otherwise
 
 | 
	
		| 
			 public 
			
			
			 | 
		#
		updateKeys( )
			
Sets a key for all recipients without key or an old key (len(key) <>
30) 
			
Sets a key for all recipients without key or an old key (len(key) <>
30) | 
	
	
	Methods inherited from ItemCollection
	
		| 
			_buildGroupWhereStatements(), 
			_buildWhereStatements(), 
			_delete(), 
			_deleteMultiple(), 
			_fetchJoinTables(), 
			_findReverseJoinPartner(), 
			_initializeDriver(), 
			_recursiveStructuredFetch(), 
			_resolveLinks(), 
			_setItemClass(), 
			_setJoinPartner(), 
			addResultField(), 
			copyItem(), 
			count(), 
			createNewItem(), 
			deleteBy(), 
			deleteByWhereClause(), 
			deleteWhere(), 
			deleteWhereGroup(), 
			exists(), 
			fetchArray(), 
			fetchById(), 
			fetchObject(), 
			fetchTable(), 
			flexSelect(), 
			getAllIds(), 
			getFieldsByWhereClause(), 
			getIdsByWhereClause(), 
			link(), 
			loadItem(), 
			next(), 
			query(), 
			queryAndFetchStructured(), 
			removeResultField(), 
			resetQuery(), 
			select(), 
			setEncoding(), 
			setGroupCondition(), 
			setInnerGroupCondition(), 
			setLimit(), 
			setOrder(), 
			setWhere(), 
			setWhereGroup()
		 | 
	
	
	
	
	
	Properties inherited from ItemCollection
	
		| 
			$_JoinPartners, 
			$_aOperators, 
			$_bAllMode, 
			$_collectionCache, 
			$_driver, 
			$_encoding, 
			$_forwardJoinPartners, 
			$_groupConditions, 
			$_innerGroupConditions, 
			$_itemClass, 
			$_itemClassInstance, 
			$_iteratorItem, 
			$_lastSQL, 
			$_limitCount, 
			$_limitStart, 
			$_links, 
			$_order, 
			$_resultFields, 
			$_where, 
			$_whereRestriction, 
			$objects
		 |