PHP Class Ip\Internal\Email\Db

Show file Open project: impresspages/impresspages

Public Methods

Method Description
addEmail ( $from, $fromName, $to, $toName, $subject, $email, $immediate, $html, $filesStr, $fileNamesStr, $mimeTypesStr )
deleteOld ( $hours ) *apparently there were some errors if exists old locked records.
delteOldSent ( $hours )
getEmail ( $id )
getLocked ( $key )
lock ( $count, $key )
lockOnlyImmediate ( $count, $key )
markSend ( $key )
sentOrLockedCount ( $minutes )
unlock ( $key )
unlockOne ( $id )

Method Details

addEmail() public static method

public static addEmail ( $from, $fromName, $to, $toName, $subject, $email, $immediate, $html, $filesStr, $fileNamesStr, $mimeTypesStr )

deleteOld() public static method

*apparently there were some errors if exists old locked records.
public static deleteOld ( $hours )

delteOldSent() public static method

public static delteOldSent ( $hours )

getEmail() public static method

public static getEmail ( $id )

getLocked() public static method

public static getLocked ( $key )

lock() public static method

public static lock ( $count, $key )

lockOnlyImmediate() public static method

public static lockOnlyImmediate ( $count, $key )

markSend() public static method

public static markSend ( $key )

sentOrLockedCount() public static method

public static sentOrLockedCount ( $minutes )

unlock() public static method

public static unlock ( $key )

unlockOne() public static method

public static unlockOne ( $id )