PHP 클래스 DbaController, vanilla

상속: extends DashboardController
파일 보기 프로젝트 열기: vanilla/vanilla

공개 프로퍼티들

프로퍼티 타입 설명
$Form Gdn_Form
$Model DBAModel

공개 메소드들

메소드 설명
counts ( boolean $Table = false, boolean $Column = false, boolean $From = false, boolean $To = false, boolean $Max = false ) Recalculate counters.
fixInsertUserID ( boolean | string $Table = false ) Scan a table for invalid InsertUserID values and update with SystemUserID
fixPermissions ( ) Set Member-like permissions on all roles with missing permissions.
fixUrlCodes ( $Table, $Column )
fixUserRole ( ) Look for users with an invalid role and apply the role specified to those users.
initialize ( ) Runs before every call to this controller.
rebuildCategoryTree ( ) Fix the category tree after an import that only gives a sort & parent.
resetPermissions ( ) Reset all role permissions based on role type.

보호된 메소드들

메소드 설명
_setJob ( string $Name ) Set a job.

메소드 상세

_setJob() 보호된 메소드

Set a job.
protected _setJob ( string $Name )
$Name string

counts() 공개 메소드

Recalculate counters.
public counts ( boolean $Table = false, boolean $Column = false, boolean $From = false, boolean $To = false, boolean $Max = false )
$Table boolean
$Column boolean
$From boolean
$To boolean
$Max boolean

fixInsertUserID() 공개 메소드

Scan a table for invalid InsertUserID values and update with SystemUserID
public fixInsertUserID ( boolean | string $Table = false )
$Table boolean | string The name of the table to fix InsertUserID in.

fixPermissions() 공개 메소드

Useful for after an import that didn't include permissions but did include a whole lotta roles you don't want to edit manually.
public fixPermissions ( )

fixUrlCodes() 공개 메소드

public fixUrlCodes ( $Table, $Column )
$Table
$Column

fixUserRole() 공개 메소드

Look for users with an invalid role and apply the role specified to those users.
public fixUserRole ( )

initialize() 공개 메소드

Runs before every call to this controller.
public initialize ( )

rebuildCategoryTree() 공개 메소드

Fix the category tree after an import that only gives a sort & parent.
public rebuildCategoryTree ( )

resetPermissions() 공개 메소드

Reset all role permissions based on role type.
public resetPermissions ( )

프로퍼티 상세

$Form 공개적으로 프로퍼티

public Gdn_Form $Form
리턴 Gdn_Form

$Model 공개적으로 프로퍼티

public DBAModel $Model
리턴 DBAModel