PHP 클래스 Pantheon\Terminus\Models\Organization

상속: extends TerminusModel, implements League\Container\ContainerAwareInterface, use trait League\Container\ContainerAwareTrait
파일 보기 프로젝트 열기: pantheon-systems/terminus 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$site_memberships Pantheon\Terminus\Collections\OrganizationSiteMemberships
$user_memberships Pantheon\Terminus\Collections\OrganizationUserMemberships
$workflows Pantheon\Terminus\Collections\Workflows

공개 메소드들

메소드 설명
getFeature ( string $feature ) : mixed | null Returns a specific organization feature value
getName ( ) : string Get the human-readable name of the organization.
getSiteMemberships ( ) : OrganizationSiteMemberships
getSites ( ) : Site[] Retrieves organization sites
getUserMemberships ( ) : OrganizationUserMemberships
getUsers ( ) : User[] Retrieves organization users
getWorkflows ( ) : Workflows
serialize ( ) : array Formats the Organization object into an associative array for output

메소드 상세

getFeature() 공개 메소드

Returns a specific organization feature value
public getFeature ( string $feature ) : mixed | null
$feature string Feature to check
리턴 mixed | null Feature value, or null if not found

getName() 공개 메소드

Get the human-readable name of the organization.
public getName ( ) : string
리턴 string

getSiteMemberships() 공개 메소드

public getSiteMemberships ( ) : OrganizationSiteMemberships
리턴 Pantheon\Terminus\Collections\OrganizationSiteMemberships

getSites() 공개 메소드

Retrieves organization sites
public getSites ( ) : Site[]
리턴 Site[]

getUserMemberships() 공개 메소드

public getUserMemberships ( ) : OrganizationUserMemberships
리턴 Pantheon\Terminus\Collections\OrganizationUserMemberships

getUsers() 공개 메소드

Retrieves organization users
public getUsers ( ) : User[]
리턴 User[]

getWorkflows() 공개 메소드

public getWorkflows ( ) : Workflows
리턴 Pantheon\Terminus\Collections\Workflows

serialize() 공개 메소드

Formats the Organization object into an associative array for output
public serialize ( ) : array
리턴 array Associative array of data for output string id The UUID of the organization string name The name of the organization

프로퍼티 상세

$site_memberships 공개적으로 프로퍼티

public OrganizationSiteMemberships,Pantheon\Terminus\Collections $site_memberships
리턴 Pantheon\Terminus\Collections\OrganizationSiteMemberships

$user_memberships 공개적으로 프로퍼티

public OrganizationUserMemberships,Pantheon\Terminus\Collections $user_memberships
리턴 Pantheon\Terminus\Collections\OrganizationUserMemberships

$workflows 공개적으로 프로퍼티

public Workflows,Pantheon\Terminus\Collections $workflows
리턴 Pantheon\Terminus\Collections\Workflows