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
64b4d6dc
Commit
64b4d6dc
authored
Oct 25, 2014
by
Alexander Mohorev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct order of property declaration
parent
329e6ee0
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
46 additions
and
43 deletions
+46
-43
LoginForm.php
apps/advanced/common/models/LoginForm.php
+1
-0
ResetPasswordForm.php
apps/advanced/frontend/models/ResetPasswordForm.php
+1
-0
LoginForm.php
apps/basic/models/LoginForm.php
+1
-0
AuthAction.php
extensions/authclient/AuthAction.php
+6
-6
OAuthToken.php
extensions/authclient/OAuthToken.php
+5
-5
OpenId.php
extensions/authclient/OpenId.php
+14
-14
RsaSha1.php
extensions/authclient/signature/RsaSha1.php
+9
-9
FixtureController.php
extensions/faker/FixtureController.php
+0
-1
Extension.php
extensions/smarty/Extension.php
+0
-1
ViewRenderer.php
extensions/smarty/ViewRenderer.php
+5
-7
Schema.php
extensions/sphinx/Schema.php
+1
-0
BaseFileHelper.php
framework/helpers/BaseFileHelper.php
+1
-0
BaseInflector.php
framework/helpers/BaseInflector.php
+1
-0
ActiveForm.php
framework/widgets/ActiveForm.php
+1
-0
No files found.
apps/advanced/common/models/LoginForm.php
View file @
64b4d6dc
...
...
@@ -15,6 +15,7 @@ class LoginForm extends Model
private
$_user
=
false
;
/**
* @inheritdoc
*/
...
...
apps/advanced/frontend/models/ResetPasswordForm.php
View file @
64b4d6dc
...
...
@@ -18,6 +18,7 @@ class ResetPasswordForm extends Model
*/
private
$_user
;
/**
* Creates a form model given a token.
*
...
...
apps/basic/models/LoginForm.php
View file @
64b4d6dc
...
...
@@ -16,6 +16,7 @@ class LoginForm extends Model
private
$_user
=
false
;
/**
* @return array the validation rules.
*/
...
...
extensions/authclient/AuthAction.php
View file @
64b4d6dc
...
...
@@ -86,6 +86,12 @@ class AuthAction extends Action
*/
public
$successCallback
;
/**
* @var string name or alias of the view file, which should be rendered in order to perform redirection.
* If not set default one will be used.
*/
public
$redirectView
;
/**
* @var string the redirect url after successful authorization.
*/
private
$_successUrl
=
''
;
...
...
@@ -96,12 +102,6 @@ class AuthAction extends Action
/**
* @var string name or alias of the view file, which should be rendered in order to perform redirection.
* If not set default one will be used.
*/
public
$redirectView
;
/**
* @param string $url successful URL.
*/
public
function
setSuccessUrl
(
$url
)
...
...
extensions/authclient/OAuthToken.php
View file @
64b4d6dc
...
...
@@ -35,6 +35,11 @@ class OAuthToken extends Object
*/
public
$tokenSecretParamKey
=
'oauth_token_secret'
;
/**
* @var integer object creation timestamp.
*/
public
$createTimestamp
;
/**
* @var string key in [[params]] array, which stores token expiration duration.
* If not set will attempt to fetch its value automatically.
*/
...
...
@@ -45,11 +50,6 @@ class OAuthToken extends Object
private
$_params
=
[];
/**
* @var integer object creation timestamp.
*/
public
$createTimestamp
;
public
function
init
()
{
if
(
$this
->
createTimestamp
===
null
)
{
...
...
extensions/authclient/OpenId.php
View file @
64b4d6dc
...
...
@@ -82,20 +82,6 @@ class OpenId extends BaseClient implements ClientInterface
*/
public
$cainfo
;
/**
* @var string authentication return URL.
*/
private
$_returnUrl
;
/**
* @var string claimed identifier (identity)
*/
private
$_claimedId
;
/**
* @var string client trust root (realm), by default [[\yii\web\Request::hostInfo]] value will be used.
*/
private
$_trustRoot
;
/**
* @var array data, which should be used to retrieve the OpenID response.
* If not set combination of GET and POST will be used.
*/
...
...
@@ -116,6 +102,20 @@ class OpenId extends BaseClient implements ClientInterface
];
/**
* @var string authentication return URL.
*/
private
$_returnUrl
;
/**
* @var string claimed identifier (identity)
*/
private
$_claimedId
;
/**
* @var string client trust root (realm), by default [[\yii\web\Request::hostInfo]] value will be used.
*/
private
$_trustRoot
;
/**
* @inheritdoc
*/
public
function
init
()
...
...
extensions/authclient/signature/RsaSha1.php
View file @
64b4d6dc
...
...
@@ -24,6 +24,15 @@ use yii\base\NotSupportedException;
class
RsaSha1
extends
BaseMethod
{
/**
* @var string path to the file, which holds private key certificate.
*/
public
$privateCertificateFile
=
''
;
/**
* @var string path to the file, which holds public key certificate.
*/
public
$publicCertificateFile
=
''
;
/**
* @var string OpenSSL private key certificate content.
* This value can be fetched from file specified by [[privateCertificateFile]].
*/
...
...
@@ -36,15 +45,6 @@ class RsaSha1 extends BaseMethod
/**
* @var string path to the file, which holds private key certificate.
*/
public
$privateCertificateFile
=
''
;
/**
* @var string path to the file, which holds public key certificate.
*/
public
$publicCertificateFile
=
''
;
/**
* @inheritdoc
*/
public
function
init
()
...
...
extensions/faker/FixtureController.php
View file @
64b4d6dc
...
...
@@ -138,7 +138,6 @@ use yii\helpers\VarDumper;
*/
class
FixtureController
extends
\yii\console\controllers\FixtureController
{
/**
* @var string Alias to the template path, where all tables templates are stored.
*/
...
...
extensions/smarty/Extension.php
View file @
64b4d6dc
...
...
@@ -26,7 +26,6 @@ class Extension
* @var ViewRenderer
*/
protected
$viewRenderer
;
/**
* @var Smarty
*/
...
...
extensions/smarty/ViewRenderer.php
View file @
64b4d6dc
...
...
@@ -32,7 +32,6 @@ class ViewRenderer extends BaseViewRenderer
* @var string the directory or path alias pointing to where Smarty compiled templates will be stored.
*/
public
$compilePath
=
'@runtime/Smarty/compile'
;
/**
* @var array Add additional directories to Smarty's search path for plugins.
*/
...
...
@@ -46,21 +45,20 @@ class ViewRenderer extends BaseViewRenderer
*/
public
$widgets
=
[
'functions'
=>
[],
'blocks'
=>
[]];
/**
* @var Smarty The Smarty object used for rendering
*/
protected
$smarty
;
/**
* @var array additional Smarty options
* @see http://www.smarty.net/docs/en/api.variables.tpl
*/
public
$options
=
[];
/**
* @var string extension class name
*/
public
$extensionClass
=
'\yii\smarty\Extension'
;
/**
* @var Smarty The Smarty object used for rendering
*/
protected
$smarty
;
/**
* Instantiates and configures the Smarty object.
...
...
extensions/sphinx/Schema.php
View file @
64b4d6dc
...
...
@@ -43,6 +43,7 @@ class Schema extends Object
* @var Connection the Sphinx connection
*/
public
$db
;
/**
* @var array list of ALL index names in the Sphinx
*/
...
...
framework/helpers/BaseFileHelper.php
View file @
64b4d6dc
...
...
@@ -33,6 +33,7 @@ class BaseFileHelper
*/
public
static
$mimeMagicFile
=
'@yii/helpers/mimeTypes.php'
;
/**
* Normalizes a file/directory path.
* The normalization does the following work:
...
...
framework/helpers/BaseInflector.php
View file @
64b4d6dc
...
...
@@ -238,6 +238,7 @@ class BaseInflector
*/
public
static
$transliterator
=
'Any-Latin; NFKD'
;
/**
* Converts a word to its plural form.
* Note that this is for English only!
...
...
framework/widgets/ActiveForm.php
View file @
64b4d6dc
...
...
@@ -157,6 +157,7 @@ class ActiveForm extends Widget
* @internal
*/
public
$attributes
=
[];
/**
* @var ActiveField[] the ActiveField objects that are currently active
*/
...
...
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