PHP 클래스 yii\apidoc\components\BaseController

부터: 2.0
저자: Carsten Brandt ([email protected])
상속: extends yii\console\Controller
파일 보기 프로젝트 열기: yiisoft/yii2-apidoc 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$exclude files to exclude.
$pageTitle page title
$template template to use for rendering

공개 메소드들

메소드 설명
options ( $actionID )

보호된 메소드들

메소드 설명
findFiles ( string $dir, array $except = [] ) : array Finds files
findRenderer ( string $template ) : BaseRenderer
loadContext ( string $location ) : Context Loads context from cache
normalizeTargetDir ( string $target ) : boolean | string Checks that target directory is valid. Asks questions in tricky cases.
searchFiles ( array $sourceDirs ) : array | boolean Finds files to process
storeContext ( Context $context, string $location ) Writes context into cache file
updateContext ( Context $context )

메소드 상세

findFiles() 추상적인 보호된 메소드

Finds files
abstract protected findFiles ( string $dir, array $except = [] ) : array
$dir string directory to search files in.
$except array list of names to exclude from search.
리턴 array files found.

findRenderer() 추상적인 보호된 메소드

abstract protected findRenderer ( string $template ) : BaseRenderer
$template string
리턴 yii\apidoc\renderers\BaseRenderer

loadContext() 보호된 메소드

Loads context from cache
protected loadContext ( string $location ) : Context
$location string
리턴 yii\apidoc\models\Context

normalizeTargetDir() 보호된 메소드

Checks that target directory is valid. Asks questions in tricky cases.
protected normalizeTargetDir ( string $target ) : boolean | string
$target string
리턴 boolean | string

options() 공개 메소드

public options ( $actionID )

searchFiles() 보호된 메소드

Finds files to process
protected searchFiles ( array $sourceDirs ) : array | boolean
$sourceDirs array
리턴 array | boolean list of files to process or false on failure

storeContext() 보호된 메소드

Writes context into cache file
protected storeContext ( Context $context, string $location )
$context yii\apidoc\models\Context
$location string

updateContext() 보호된 메소드

protected updateContext ( Context $context )
$context yii\apidoc\models\Context

프로퍼티 상세

$exclude 공개적으로 프로퍼티

files to exclude.
public $exclude

$pageTitle 공개적으로 프로퍼티

page title
public $pageTitle

$template 공개적으로 프로퍼티

template to use for rendering
public $template