PHP 클래스 Kohana_Sniffs_NamingConventions_ValidFunctionNameSniff, coding-standards

저자: Matthew Turland ([email protected])
상속: extends PHP_CodeSniffer_Standards_AbstractScopeSniff
파일 보기 프로젝트 열기: kohana/coding-standards

보호된 프로퍼티들

프로퍼티 타입 설명
$_magicFunctions Copied from the base class because it's declared as private there
$_magicMethods Copied from the base class because it's declared as private there

공개 메소드들

메소드 설명
__construct ( ) : void Constructor.

보호된 메소드들

메소드 설명
isInvalidName ( string $name ) : boolean Supporting method to validate a function or method name.
processTokenOutsideScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void Processes the tokens outside the scope.
processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void Processes the tokens within the scope.

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( ) : void
리턴 void

isInvalidName() 보호된 메소드

Supporting method to validate a function or method name.
protected isInvalidName ( string $name ) : boolean
$name string Name of the function or method to validate
리턴 boolean TRUE if the function or method name is valid, FALSE otherwise

processTokenOutsideScope() 보호된 메소드

Processes the tokens outside the scope.
protected processTokenOutsideScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr ) : void
$phpcsFile PHP_CodeSniffer_File File being processed
$stackPtr integer Position where this token was found
리턴 void

processTokenWithinScope() 보호된 메소드

Processes the tokens within the scope.
protected processTokenWithinScope ( PHP_CodeSniffer_File $phpcsFile, integer $stackPtr, integer $currScope ) : void
$phpcsFile PHP_CodeSniffer_File File being processed
$stackPtr integer Position where this token was found
$currScope integer Position of the current scope
리턴 void

프로퍼티 상세

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

Copied from the base class because it's declared as private there
protected $_magicFunctions

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

Copied from the base class because it's declared as private there
protected $_magicMethods