PHP 클래스 DomainController

상속: extends MController
파일 보기 프로젝트 열기: opensolutions/vimbadmin

공개 메소드들

메소드 설명
addAction ( ) Add / edit a domain.
adminsAction ( ) Lists the domain admins.
ajaxToggleActiveAction ( ) Toggles the active property for the current domain. Prints 'ok' on success or 'ko' otherwise to stdout.
assignAdminAction ( ) Add a domain admin. Prints 'ok' on success or 'ko' otherwise to stdout.
editAction ( )
getDomainForm ( ) : ViMbAdmin_Form_Domain_AddEdit Instantiate / get the domain add-edit form
indexAction ( ) Jumps to list action.
listAction ( ) List all domains if super admin, else relevant domains
listSearchAction ( )
preDispatch ( ) Most actions in this object will require a domain object to edit / act on.
purgeAction ( ) Purges a mailbox, removes all the related entries from the other tables.
removeAdminAction ( ) Remove a domain admin. Prints 'ok' on success or 'ko' otherwise to stdout.

메소드 상세

addAction() 공개 메소드

Add / edit a domain.
public addAction ( )

adminsAction() 공개 메소드

Lists the domain admins.
public adminsAction ( )

ajaxToggleActiveAction() 공개 메소드

Toggles the active property for the current domain. Prints 'ok' on success or 'ko' otherwise to stdout.

assignAdminAction() 공개 메소드

Add a domain admin. Prints 'ok' on success or 'ko' otherwise to stdout.
public assignAdminAction ( )

editAction() 공개 메소드

public editAction ( )

getDomainForm() 공개 메소드

Instantiate / get the domain add-edit form
public getDomainForm ( ) : ViMbAdmin_Form_Domain_AddEdit
리턴 ViMbAdmin_Form_Domain_AddEdit

indexAction() 공개 메소드

Jumps to list action.
public indexAction ( )

listAction() 공개 메소드

List all domains if super admin, else relevant domains
public listAction ( )

listSearchAction() 공개 메소드

public listSearchAction ( )

preDispatch() 공개 메소드

This method will look for an 'id' parameter and, if set, will try to load the domain model and authorise the user to edit / act on it.
또한 보기: Zend_Controller_Action::preDispatch()
public preDispatch ( )

purgeAction() 공개 메소드

Purges a mailbox, removes all the related entries from the other tables.
public purgeAction ( )

removeAdminAction() 공개 메소드

Remove a domain admin. Prints 'ok' on success or 'ko' otherwise to stdout.
public removeAdminAction ( )