PHP Class Contao\MemberGroupModel

Inheritance: extends Model
Afficher le fichier Open project: contao/core-bundle

Protected Properties

Свойство Type Description
$strTable string Table name

Méthodes publiques

Méthode Description
findAllActive ( array $arrOptions = [] ) : Collection | MemberGroupModel | null Find all active groups
findFirstActiveWithJumpToByIds ( string $arrIds ) : MemberGroupModel | null Find the first active group with a published jumpTo page
findPublishedById ( integer $intId, array $arrOptions = [] ) : MemberGroupModel | null Find a published group by its ID

Method Details

findAllActive() public static méthode

Find all active groups
public static findAllActive ( array $arrOptions = [] ) : Collection | MemberGroupModel | null
$arrOptions array An optional options array
Résultat Contao\Model\Collection | MemberGroupModel | null A collection of models or null if there are no member groups

findFirstActiveWithJumpToByIds() public static méthode

Find the first active group with a published jumpTo page
Deprecation: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use PageModel::findFirstActiveByMemberGroups() instead.
public static findFirstActiveWithJumpToByIds ( string $arrIds ) : MemberGroupModel | null
$arrIds string An array of member group IDs
Résultat MemberGroupModel | null The model or null if there is no matching member group

findPublishedById() public static méthode

Find a published group by its ID
public static findPublishedById ( integer $intId, array $arrOptions = [] ) : MemberGroupModel | null
$intId integer The member group ID
$arrOptions array An optional options array
Résultat MemberGroupModel | null The model or null if there is no member group

Property Details

$strTable protected_oe static_oe property

Table name
protected static string $strTable
Résultat string