PHP 클래스 Yosymfony\Spress\Core\Spress
Namespaces:
- "spress.config.site_dir": (string) The path to the site. "./" by defatul.
- "spress.externals": (array) Externals attributes. e.g: CLI command arguments.
These attributes could be recovered on a site using "spress.external.attribute_name".
- "spress.dataSourceManager.parameters": (array) Parameters accesibles by arguments
at Datasources declaration.
- "spress.cms.converterManager.converters" (array) List of predefined converters.
파일 보기
프로젝트 열기: spress/spress
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__construct ( ) |
|
|
parse ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] |
Parse a site. |
|
비공개 메소드들
메소드 상세
Example:
$spress['spress.config.site_dir'] = '/my-site-folder';
$spress['spress.config.drafts'] = true;
$spress['spress.config.safe'] = false;
$spress['spress.config.timezone'] = 'UTC';
$spress['spress.config.url'] = 'http://your-domain.local:4000';
$spress->parse();
public parse ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] |
리턴 |
Yosymfony\Spress\Core\DataSource\ItemInterface[] |
Items of the site |