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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
812ec39e
Commit
812ec39e
authored
Oct 14, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more phpdoc
parent
40f0efe2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
Collapse.php
extensions/bootstrap/Collapse.php
+1
-0
Mail.php
extensions/debug/models/search/Mail.php
+3
-0
ActiveQuery.php
extensions/redis/ActiveQuery.php
+1
-0
ViewRendererStaticClassProxy.php
extensions/twig/ViewRendererStaticClassProxy.php
+17
-0
No files found.
extensions/bootstrap/Collapse.php
View file @
812ec39e
...
@@ -86,6 +86,7 @@ class Collapse extends Widget
...
@@ -86,6 +86,7 @@ class Collapse extends Widget
/**
/**
* Renders collapsible items as specified on [[items]].
* Renders collapsible items as specified on [[items]].
* @throws InvalidConfigException if label isn't specified
* @return string the rendering result
* @return string the rendering result
*/
*/
public
function
renderItems
()
public
function
renderItems
()
...
...
extensions/debug/models/search/Mail.php
View file @
812ec39e
...
@@ -60,6 +60,9 @@ class Mail extends Base
...
@@ -60,6 +60,9 @@ class Mail extends Base
public
$file
;
public
$file
;
/**
* @inheritdoc
*/
public
function
rules
()
public
function
rules
()
{
{
return
[
return
[
...
...
extensions/redis/ActiveQuery.php
View file @
812ec39e
...
@@ -305,6 +305,7 @@ class ActiveQuery extends Component implements ActiveQueryInterface
...
@@ -305,6 +305,7 @@ class ActiveQuery extends Component implements ActiveQueryInterface
* If this parameter is not given, the `db` application component will be used.
* If this parameter is not given, the `db` application component will be used.
* @param string $type the type of the script to generate
* @param string $type the type of the script to generate
* @param string $columnName
* @param string $columnName
* @throws NotSupportedException
* @return array|bool|null|string
* @return array|bool|null|string
*/
*/
protected
function
executeScript
(
$db
,
$type
,
$columnName
=
null
)
protected
function
executeScript
(
$db
,
$type
,
$columnName
=
null
)
...
...
extensions/twig/ViewRendererStaticClassProxy.php
View file @
812ec39e
...
@@ -18,11 +18,18 @@ class ViewRendererStaticClassProxy
...
@@ -18,11 +18,18 @@ class ViewRendererStaticClassProxy
private
$_staticClassName
;
private
$_staticClassName
;
/**
* @param string $staticClassName
*/
public
function
__construct
(
$staticClassName
)
public
function
__construct
(
$staticClassName
)
{
{
$this
->
_staticClassName
=
$staticClassName
;
$this
->
_staticClassName
=
$staticClassName
;
}
}
/**
* @param string $property
* @return mixed
*/
public
function
__get
(
$property
)
public
function
__get
(
$property
)
{
{
$class
=
new
\ReflectionClass
(
$this
->
_staticClassName
);
$class
=
new
\ReflectionClass
(
$this
->
_staticClassName
);
...
@@ -30,6 +37,11 @@ class ViewRendererStaticClassProxy
...
@@ -30,6 +37,11 @@ class ViewRendererStaticClassProxy
return
$class
->
getStaticPropertyValue
(
$property
);
return
$class
->
getStaticPropertyValue
(
$property
);
}
}
/**
* @param string $property
* @param mixed $value
* @return mixed
*/
public
function
__set
(
$property
,
$value
)
public
function
__set
(
$property
,
$value
)
{
{
$class
=
new
\ReflectionClass
(
$this
->
_staticClassName
);
$class
=
new
\ReflectionClass
(
$this
->
_staticClassName
);
...
@@ -38,6 +50,11 @@ class ViewRendererStaticClassProxy
...
@@ -38,6 +50,11 @@ class ViewRendererStaticClassProxy
return
$value
;
return
$value
;
}
}
/**
* @param string $method
* @param array $arguments
* @return mixed
*/
public
function
__call
(
$method
,
$arguments
)
public
function
__call
(
$method
,
$arguments
)
{
{
return
call_user_func_array
([
$this
->
_staticClassName
,
$method
],
$arguments
);
return
call_user_func_array
([
$this
->
_staticClassName
,
$method
],
$arguments
);
...
...
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