Alexander Makarov
7aa6a30d7b
Fixes #4290 : Fixed throwing exception when trying to access AR relation that is null
10 years ago
Alexander Makarov
76b529927b
Better alias handling for Twig extension
10 years ago
Alexander Makarov
e2b2326e33
Added string check to Twig renderer alias auto adding
10 years ago
Alexander Makarov
b44a900779
Fixes Twig to ignore non-path aliases instead of erroring
10 years ago
RichWeber
92cd13a913
pull origin
10 years ago
Alexander Makarov
e1bdc9cdc9
Fixes #3674 : Various Twig enhancements:
...
- Removed `FileLoader` and used `\Twig_Loader_Filesystem` instead.
- Added support of Yii's aliases.
- Added `set()` that allows setting object properties.
10 years ago
Carsten Brandt
7736853837
property code style extensions
10 years ago
Alexander Makarov
22884e7384
Fixes #3535 : Syntax changes
...
- Removed `form_begin`, `form_end`
- Added `use()` and `ViewRenderer::uses` that are importing classes and namespaces
- Added widget dynamic functions `*_begin`, `*_end`, `*_widget`, `widget_end`
- Added more tests
10 years ago
Alexander Makarov
31e1afc15f
Renamed `TwigSimpleFileLoader` into `FileLoader`
10 years ago
patrick
48f941dac7
Fixes Twig lexerOptions throwing exception ( #3877 ) and adds test for lexerOptions
10 years ago
Andrey Grachov
f6bc4a32be
Extensions were added twice
10 years ago
Alexander Makarov
7f6fc39861
Fixes #1799 : Added form_begin, form_end to twig extension
11 years ago
Alexander Makarov
8c79c4f08b
Fixed typo
11 years ago
Carsten Brandt
fe14f0c5e3
fixed all the PHPdoc in extensions
11 years ago
Carsten Brandt
3c400dbca8
fixed file PHPdoc
...
issue #3026
11 years ago
SonicGD
b5f8a4dc22
Reformat code te be PSR-2 compatible
11 years ago
Alexander Makarov
5d6c314d4e
Adjusted URL helper, fixed usage
11 years ago
Alexander Makarov
3400eb5215
#2630 : `yii\heplers\Html::url` moved to new `yii\helpers\Url::create`
11 years ago
AlexGx
1982efbdfe
many phpcs fixes
11 years ago
Carsten Brandt
098567ce16
fixed phpdoc errors and updated properties
11 years ago
Qiang Xue
d9802aacce
psr-4 change.
11 years ago
Carsten Brandt
ff444c3e44
updatd TwigRenderer docs, closes #1771
11 years ago
Alexander Makarov
1028899fa3
Fixes #1609 : Adjusted code style, added some docs
11 years ago
dev-meghraj
b1a1458d70
fixes code style.
11 years ago
dev-meghraj
eabcf1c7de
minor typos
11 years ago
dev-meghraj
b053fa8281
add old yii-ext twig renderer's function into this. and as per yii2's view system changed so for now add simple directory of file based file loader for twig
11 years ago
nergal
8b7136320c
Add extension support to yii\twig\ViewRenderer
11 years ago
Qiang Xue
02a2a50b5a
moved twig to yii subdirectory.
11 years ago
Qiang Xue
3fd1cb0c6d
reorganized extension directories.
11 years ago
Alexander Makarov
1f6a823073
Short array syntax
11 years ago
Qiang Xue
35cf49732e
Fixed the namespace.
11 years ago
Alexander Makarov
0596fa82fd
code style fixes
11 years ago
Qiang Xue
22357befad
Added "@runtime" and "@vendor" aliases.
11 years ago
Alexander Makarov
9a13ddb8a6
Moved Smarty and Twig renderers into extensions
12 years ago
Qiang Xue
f72105166c
reorganized the main repo to satisfy PSR-0.
12 years ago
Qiang Xue
0d814fa523
Moved "framework" to "iii".
12 years ago
Alexander Makarov
ad26b7d3d1
Use Composer autoload to handle dependency class loading
12 years ago
Alexander Makarov
74185cb7fc
Corrected default paths for Twig and Smarty
12 years ago
Alexander Makarov
23f5b504c0
Twig: added path() function, exposed app and this in templates
12 years ago
Qiang Xue
44c1534e71
Minor change about twig alias.
12 years ago
Qiang Xue
3a146a0662
Refactored view renderers.
12 years ago
Alexander Makarov
4a78705934
Better phpdoc for view renderers, composite view renderer
12 years ago
Alexander Makarov
1d6b8d856c
twig: ability to specify options
12 years ago
Alexander Makarov
bb5962f9f5
Basic Smarty and Twig view renderers, docs
12 years ago