PHP 클래스 Neos\FluidAdaptor\Command\DocumentationCommandController

상속: extends Neos\Flow\Cli\CommandController
파일 보기 프로젝트 열기: neos/flow-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$xsdGenerator Neos\FluidAdaptor\Service\XsdGenerator

공개 메소드들

메소드 설명
generateXsdCommand ( string $phpNamespace, string $xsdNamespace = null, string $targetFile = null ) : void Generate Fluid ViewHelper XSD Schema

메소드 상세

generateXsdCommand() 공개 메소드

Generates Schema documentation (XSD) for your ViewHelpers, preparing the file to be placed online and used by any XSD-aware editor. After creating the XSD file, reference it in your IDE and import the namespace in your Fluid template by adding the xmlns:* attribute(s):
public generateXsdCommand ( string $phpNamespace, string $xsdNamespace = null, string $targetFile = null ) : void
$phpNamespace string Namespace of the Fluid ViewHelpers without leading backslash (for example 'Neos\FluidAdaptor\ViewHelpers'). NOTE: Quote and/or escape this argument as needed to avoid backslashes from being interpreted!
$xsdNamespace string Unique target namespace used in the XSD schema (for example "http://yourdomain.org/ns/viewhelpers"). Defaults to "http://typo3.org/ns/".
$targetFile string File path and name of the generated XSD schema. If not specified the schema will be output to standard output.
리턴 void

프로퍼티 상세

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

protected XsdGenerator,Neos\FluidAdaptor\Service $xsdGenerator
리턴 Neos\FluidAdaptor\Service\XsdGenerator