PHP Class Contao\MemberModel

Inheritance: extends Model
Show file Open project: contao/core-bundle Class Usage Examples

Protected Properties

Property Type Description
$strTable string Table name

Public Methods

Method Description
findActiveByEmailAndUsername ( string $strEmail, string $strUsername = null, array $arrOptions = [] ) : MemberModel | null Find an active member by their e-mail-address and username
findUnactivatedByEmail ( string $strEmail, array $arrOptions = [] ) : static Find an unactivated member by their e-mail-address

Method Details

findActiveByEmailAndUsername() public static method

Find an active member by their e-mail-address and username
public static findActiveByEmailAndUsername ( string $strEmail, string $strUsername = null, array $arrOptions = [] ) : MemberModel | null
$strEmail string The e-mail address
$strUsername string The username
$arrOptions array An optional options array
return MemberModel | null The model or null if there is no member

findUnactivatedByEmail() public static method

Find an unactivated member by their e-mail-address
public static findUnactivatedByEmail ( string $strEmail, array $arrOptions = [] ) : static
$strEmail string The e-mail address
$arrOptions array An optional options array
return static The model or null if there is no member

Property Details

$strTable protected static property

Table name
protected static string $strTable
return string