Update doc
This commit is contained in:
parent
9ed8e987b9
commit
f4bc88a97d
|
@ -3,7 +3,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"description": "Aspect - fast template engine for PHP",
|
"description": "Aspect - fast template engine for PHP",
|
||||||
"homepage": "https://github.com/bzick/aspect",
|
"homepage": "https://github.com/bzick/aspect",
|
||||||
"keywords": ["aspect", "templater", "templating", "template"],
|
"keywords": ["aspect", "template", "templating"],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,6 +22,7 @@ Conversation about [modifiers](./syntax.md#modifiers)
|
||||||
* [escape](./mods/escape.md) aka `e`, `url`
|
* [escape](./mods/escape.md) aka `e`, `url`
|
||||||
* [unescape](./mods/unescape.md)
|
* [unescape](./mods/unescape.md)
|
||||||
* [strip](./mods/strip.md)
|
* [strip](./mods/strip.md)
|
||||||
|
* [length](./mods/lenght.md)
|
||||||
* allowed functions: `json_encode`, `json_decode`, `count`, `is_string`, `is_array`, `is_numeric`, `is_int`, `is_object`,
|
* allowed functions: `json_encode`, `json_decode`, `count`, `is_string`, `is_array`, `is_numeric`, `is_int`, `is_object`,
|
||||||
`strtotime`, `gettype`, `is_double`, `ip2long`, `long2ip`, `strip_tags`, `nl2br`
|
`strtotime`, `gettype`, `is_double`, `ip2long`, `long2ip`, `strip_tags`, `nl2br`
|
||||||
|
|
||||||
|
@ -40,6 +41,8 @@ Conversation about [tags](./syntax.md#tags)
|
||||||
* [capture](./tags/capture.md)
|
* [capture](./tags/capture.md)
|
||||||
* [filter](./tags/filter.md)
|
* [filter](./tags/filter.md)
|
||||||
* [ignore](./tags/ignore.md)
|
* [ignore](./tags/ignore.md)
|
||||||
|
* [macros](./tags/macros.md)
|
||||||
|
* [import](./tags/import.md)
|
||||||
|
|
||||||
**Extends**
|
**Extends**
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,9 @@ class Misc {
|
||||||
foreach($iterator as $file) {
|
foreach($iterator as $file) {
|
||||||
/* @var \splFileInfo $file*/
|
/* @var \splFileInfo $file*/
|
||||||
if($file->isFile()) {
|
if($file->isFile()) {
|
||||||
if(strpos($file->getBasename(), ",") !== 0)
|
if(strpos($file->getBasename(), ",") !== 0) {
|
||||||
unlink($file->getRealPath());
|
unlink($file->getRealPath());
|
||||||
|
}
|
||||||
} elseif($file->isDir()) {
|
} elseif($file->isDir()) {
|
||||||
rmdir($file->getRealPath());
|
rmdir($file->getRealPath());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue