PHP 클래스 Contao\MemberGroupModel

상속: extends Model
파일 보기 프로젝트 열기: contao/core-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$strTable string Table name

공개 메소드들

메소드 설명
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

메소드 상세

findAllActive() 공개 정적인 메소드

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

findFirstActiveWithJumpToByIds() 공개 정적인 메소드

Find the first active group with a published jumpTo page
사용 중단: 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
리턴 MemberGroupModel | null The model or null if there is no matching member group

findPublishedById() 공개 정적인 메소드

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
리턴 MemberGroupModel | null The model or null if there is no member group

프로퍼티 상세

$strTable 보호되어 있는 정적으로 프로퍼티

Table name
protected static string $strTable
리턴 string