PHP Class AdminPageFramework_WPReadmeParser

ファイルを表示 Open project: michaeluno/admin-page-framework Class Usage Examples

Public Properties

Property Type Description
$aCallbacks
$aReplacements
$sText

Protected Properties

Property Type Description
$_aSections

Public Methods

Method Description
__construct ( $sFilePathOrContent = '', array $aReplacements = [], array $aCallbacks = [] )
_replyToReplaceCodeBlocks ( $aMatches )
get ( $sSectionName = '' )
getRawSection ( $sSectionName )
getSection ( $sSectionName )
getSyntaxHighlightedPHPCode ( $sCode )
setText ( $sText )

Private Methods

Method Description
_getParsedText ( $sContent )
_getSplitContentsBySection ( $sText )

Method Details

__construct() public method

public __construct ( $sFilePathOrContent = '', array $aReplacements = [], array $aCallbacks = [] )
$aReplacements array
$aCallbacks array

_replyToReplaceCodeBlocks() public method

public _replyToReplaceCodeBlocks ( $aMatches )

get() public method

public get ( $sSectionName = '' )

getRawSection() public method

public getRawSection ( $sSectionName )

getSection() public method

public getSection ( $sSectionName )

getSyntaxHighlightedPHPCode() public method

public getSyntaxHighlightedPHPCode ( $sCode )

setText() public method

public setText ( $sText )

Property Details

$_aSections protected_oe property

protected $_aSections

$aCallbacks public_oe property

public $aCallbacks

$aReplacements public_oe property

public $aReplacements

$sText public_oe property

public $sText