24 Commits

Author SHA1 Message Date
7aa6a30d7b Fixes #4290: Fixed throwing exception when trying to access AR relation that is null 2014-08-07 15:04:51 +04:00
76b529927b Better alias handling for Twig extension 2014-08-01 20:12:39 +04:00
e2b2326e33 Added string check to Twig renderer alias auto adding 2014-08-01 02:14:40 +04:00
b44a900779 Fixes Twig to ignore non-path aliases instead of erroring 2014-08-01 02:04:48 +04:00
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.
2014-07-31 21:01:09 +04:00
7736853837 property code style extensions 2014-07-30 00:40:46 +02:00
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
2014-06-20 05:13:36 +04:00
31e1afc15f Renamed TwigSimpleFileLoader into FileLoader 2014-06-19 21:07:41 +04:00
e6d5af03e2 Merge pull request #3878 from dapatrese/3877-twig-lexer-options-exception
Fixes Twig lexerOptions throwing exception (#3877)
2014-06-19 20:54:47 +04:00
48f941dac7 Fixes Twig lexerOptions throwing exception (#3877) and adds test for lexerOptions 2014-06-15 13:15:36 +02:00
f6bc4a32be Extensions were added twice 2014-06-10 09:27:12 +03:00
7f6fc39861 Fixes #1799: Added form_begin, form_end to twig extension 2014-05-05 01:13:44 +04:00
8c79c4f08b Fixed typo 2014-04-24 19:49:24 +04:00
fe14f0c5e3 fixed all the PHPdoc in extensions 2014-04-23 03:25:11 +02:00
3c400dbca8 fixed file PHPdoc
issue #3026
2014-04-10 22:10:59 +02:00
b5f8a4dc22 Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
5d6c314d4e Adjusted URL helper, fixed usage 2014-03-10 15:25:15 +04:00
3400eb5215 #2630: yii\heplers\Html::url moved to new yii\helpers\Url::create 2014-03-09 16:41:55 +04:00
668dacbab6 Merge pull request #2622 branch 'ext-codestyle-fix' of https://github.com/AlexGx/yii2 into code-style
* 'ext-codestyle-fix' of https://github.com/AlexGx/yii2:
  fix php5.4 array syntax
  many phpcs fixes
  fix phpDoc LuaScriptBuilder build @throws

Conflicts:
	extensions/apidoc/commands/RenderController.php
	extensions/apidoc/models/BaseDoc.php
	extensions/apidoc/templates/BaseRenderer.php
	extensions/apidoc/templates/bootstrap/Renderer.php
	extensions/apidoc/templates/bootstrap/layouts/guide.php
	extensions/apidoc/templates/bootstrap/layouts/main.php
	extensions/apidoc/templates/html/Renderer.php
	extensions/apidoc/templates/offline/Renderer.php
	extensions/apidoc/templates/offline/assets/AssetBundle.php
	extensions/apidoc/templates/offline/views/index.php
2014-03-07 21:34:23 +01:00
1982efbdfe many phpcs fixes 2014-03-05 00:22:55 +02:00
098567ce16 fixed phpdoc errors and updated properties 2014-02-20 13:42:30 +01:00
d9802aacce psr-4 change. 2014-01-10 20:51:49 -05:00
02a2a50b5a moved twig to yii subdirectory. 2013-12-09 23:16:17 -05:00
3fd1cb0c6d reorganized extension directories. 2013-11-02 15:34:07 -04:00