PHP 클래스 Neos\Neos\Domain\Repository\SiteRepository

상속: extends Neos\Flow\Persistence\Repository
파일 보기 프로젝트 열기: neos/neos-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultSiteNodeName string

공개 메소드들

메소드 설명
findDefault ( ) : Site Find the site that was specified in the configuration defaultSiteNodeName
findFirst ( ) : Site Finds the first site
findFirstOnline ( ) : Site Find first site with status "online"
findOnline ( ) : Neos\Flow\Persistence\QueryResultInterface Find all sites with status "online"

메소드 상세

findDefault() 공개 메소드

If the defaultSiteNodeName-setting is null the first active site is returned If the site is not found or not active an exception is thrown
public findDefault ( ) : Site
리턴 Neos\Neos\Domain\Model\Site

findFirst() 공개 메소드

Finds the first site
public findFirst ( ) : Site
리턴 Neos\Neos\Domain\Model\Site The first site or NULL if none exists

findFirstOnline() 공개 메소드

Find first site with status "online"
public findFirstOnline ( ) : Site
리턴 Neos\Neos\Domain\Model\Site

findOnline() 공개 메소드

Find all sites with status "online"
public findOnline ( ) : Neos\Flow\Persistence\QueryResultInterface
리턴 Neos\Flow\Persistence\QueryResultInterface

프로퍼티 상세

$defaultSiteNodeName 보호되어 있는 프로퍼티

protected string $defaultSiteNodeName
리턴 string