Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
eabcf1c7
Commit
eabcf1c7
authored
Dec 24, 2013
by
dev-meghraj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor typos
parent
9ea15107
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
TwigSimpleFileLoader.php
extensions/yii/twig/TwigSimpleFileLoader.php
+1
-1
ViewRenderer.php
extensions/yii/twig/ViewRenderer.php
+5
-5
No files found.
extensions/yii/twig/TwigSimpleFileLoader.php
View file @
eabcf1c7
...
...
@@ -12,7 +12,7 @@ class TwigSimpleFileLoader implements \Twig_LoaderInterface {
/**
* Path to directory where all file exists
* @
param $view
string
* @
var
string
*/
private
$dir
;
...
...
extensions/yii/twig/ViewRenderer.php
View file @
eabcf1c7
...
...
@@ -39,7 +39,7 @@ class ViewRenderer extends BaseViewRenderer
* Example: array('html'=>'\yii\helpers\Html')
* Than in template: {{ html.link('Login', 'site/login') }}
*/
public
$globals
=
array
()
;
public
$globals
=
[]
;
/**
* @var array Custom functions
...
...
@@ -47,7 +47,7 @@ class ViewRenderer extends BaseViewRenderer
* Example: array('rot13'=>'str_rot13', 'link'=>'\yii\helpers\Html::link')
* Than in template: {{ rot13('test') }} or {{ link('Login', 'site/login') }}
*/
public
$functions
=
array
()
;
public
$functions
=
[]
;
/**
* @var array Custom filters
...
...
@@ -55,13 +55,13 @@ class ViewRenderer extends BaseViewRenderer
* Example: array('rot13'=>'str_rot13', 'jsonEncode'=>'\yii\helpers\Json::encode')
* Then in template: {{ 'test'|rot13 }} or {{ model|jsonEncode }}
*/
public
$filters
=
array
()
;
public
$filters
=
[]
;
/**
* @var array Custom extensions
* Example: array('Twig_Extension_Sandbox', 'Twig_Extension_Text')
*/
public
$extensions
=
array
()
;
public
$extensions
=
[]
;
/**
* @var array Twig lexer options
...
...
@@ -73,7 +73,7 @@ class ViewRenderer extends BaseViewRenderer
* 'tag_variable' => array('{$', '}')
* )
*/
public
$lexerOptions
=
array
()
;
public
$lexerOptions
=
[]
;
/**
* @var \Twig_Environment
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment