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
943bf889
Commit
943bf889
authored
Dec 29, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc fix.
parent
513e98cf
Show whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
71 additions
and
59 deletions
+71
-59
PhpDocController.php
build/controllers/PhpDocController.php
+15
-11
AuthAction.php
extensions/yii/authclient/AuthAction.php
+3
-0
BaseClient.php
extensions/yii/authclient/BaseClient.php
+6
-7
BaseOAuth.php
extensions/yii/authclient/BaseOAuth.php
+7
-0
Collection.php
extensions/yii/authclient/Collection.php
+1
-1
OAuthToken.php
extensions/yii/authclient/OAuthToken.php
+8
-3
OpenId.php
extensions/yii/authclient/OpenId.php
+3
-3
BaseMethod.php
extensions/yii/authclient/signature/BaseMethod.php
+0
-2
RsaSha1.php
extensions/yii/authclient/signature/RsaSha1.php
+2
-2
Choice.php
extensions/yii/authclient/widgets/Choice.php
+2
-2
Base.php
extensions/yii/debug/components/search/matches/Base.php
+0
-0
Greater.php
extensions/yii/debug/components/search/matches/Greater.php
+0
-0
Lower.php
extensions/yii/debug/components/search/matches/Lower.php
+0
-0
ActiveQuery.php
extensions/yii/mongodb/ActiveQuery.php
+2
-0
Collection.php
extensions/yii/mongodb/Collection.php
+4
-3
Connection.php
extensions/yii/mongodb/Connection.php
+2
-0
Database.php
extensions/yii/mongodb/Database.php
+2
-1
Query.php
extensions/yii/mongodb/Query.php
+2
-0
ActiveQuery.php
extensions/yii/mongodb/file/ActiveQuery.php
+2
-0
ActiveRecord.php
extensions/yii/mongodb/file/ActiveRecord.php
+2
-8
Collection.php
extensions/yii/mongodb/file/Collection.php
+1
-2
Query.php
extensions/yii/mongodb/file/Query.php
+2
-0
ActiveRecord.php
extensions/yii/sphinx/ActiveRecord.php
+0
-12
BaseActiveRecord.php
framework/yii/db/BaseActiveRecord.php
+2
-2
Schema.php
framework/yii/db/oci/Schema.php
+2
-0
Request.php
framework/yii/web/Request.php
+1
-0
No files found.
build/controllers/PhpDocController.php
View file @
943bf889
...
...
@@ -44,22 +44,26 @@ class PhpDocController extends Controller
$except
=
[];
if
(
$root
===
null
)
{
$root
=
dirname
(
dirname
(
YII_PATH
));
Yii
::
setAlias
(
'@yii/bootstrap'
,
$root
.
'/extensions/bootstrap'
);
Yii
::
setAlias
(
'@yii/debug'
,
$root
.
'/extensions/debug'
);
Yii
::
setAlias
(
'@yii/elasticsearch'
,
$root
.
'/extensions/elasticsearch'
);
Yii
::
setAlias
(
'@yii/gii'
,
$root
.
'/extensions/gii'
);
Yii
::
setAlias
(
'@yii/jui'
,
$root
.
'/extensions/jui'
);
Yii
::
setAlias
(
'@yii/redis'
,
$root
.
'/extensions/redis'
);
Yii
::
setAlias
(
'@yii/smarty'
,
$root
.
'/extensions/smarty'
);
Yii
::
setAlias
(
'@yii/sphinx'
,
$root
.
'/extensions/sphinx'
);
Yii
::
setAlias
(
'@yii/swiftmailer'
,
$root
.
'/extensions/swiftmailer'
);
Yii
::
setAlias
(
'@yii/twig'
,
$root
.
'/extensions/twig'
);
$extension
=
"
$root
/extensions/yii"
;
Yii
::
setAlias
(
'@yii/authclient'
,
"
$extension
/authclient"
);
Yii
::
setAlias
(
'@yii/bootstrap'
,
"
$extension
/bootstrap"
);
Yii
::
setAlias
(
'@yii/debug'
,
"
$extension
/debug"
);
Yii
::
setAlias
(
'@yii/elasticsearch'
,
"
$extension
/elasticsearch"
);
Yii
::
setAlias
(
'@yii/gii'
,
"
$extension
/gii"
);
Yii
::
setAlias
(
'@yii/jui'
,
"
$extension
/jui"
);
Yii
::
setAlias
(
'@yii/mongodb'
,
"
$extension
/mongodb"
);
Yii
::
setAlias
(
'@yii/redis'
,
"
$extension
/redis"
);
Yii
::
setAlias
(
'@yii/smarty'
,
"
$extension
/smarty"
);
Yii
::
setAlias
(
'@yii/sphinx'
,
"
$extension
/sphinx"
);
Yii
::
setAlias
(
'@yii/swiftmailer'
,
"
$extension
/swiftmailer"
);
$except
=
[
'/apps/'
,
'/build/'
,
'/docs/'
,
'/extensions/composer/'
,
'/extensions/yii/codeception/'
,
'/extensions/yii/composer/'
,
'/extensions/yii/twig/'
,
'/tests/'
,
'/vendor/'
,
];
...
...
extensions/yii/authclient/AuthAction.php
View file @
943bf889
...
...
@@ -48,6 +48,9 @@ use Yii;
* @see Collection
* @see \yii\authclient\widgets\Choice
*
* @property string $cancelUrl Cancel URL.
* @property string $successUrl Successful URL.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/authclient/BaseClient.php
View file @
943bf889
...
...
@@ -18,13 +18,12 @@ use yii\helpers\StringHelper;
*
* @see ClientInterface
*
* @property string $id auth service id.
* @property string $name auth service name.
* @property string $title auth service title.
* @property array $userAttributes authenticated user attributes.
* @property array $normalizeUserAttributeMap map used to normalize user attributes fetched from
* external auth service in format: rawAttributeName => normalizedAttributeName.
* @property array $viewOptions view options in format: optionName => optionValue.
* @property string $id Service id.
* @property string $name Service name.
* @property array $normalizeUserAttributeMap Normalize user attribute map.
* @property string $title Service title.
* @property array $userAttributes List of user attributes.
* @property array $viewOptions View options in format: optionName => optionValue.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/authclient/BaseOAuth.php
View file @
943bf889
...
...
@@ -17,6 +17,13 @@ use yii\helpers\Json;
*
* @see http://oauth.net/
*
* @property OAuthToken $accessToken Auth token instance. Note that the type of this property differs in
* getter and setter. See [[getAccessToken()]] and [[setAccessToken()]] for details.
* @property array $curlOptions CURL options. This property is read-only.
* @property string $returnUrl Return URL.
* @property signature\BaseMethod $signatureMethod Signature method instance. Note that the type of this
* property differs in getter and setter. See [[getSignatureMethod()]] and [[setSignatureMethod()]] for details.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/authclient/Collection.php
View file @
943bf889
...
...
@@ -35,7 +35,7 @@ use Yii;
* ]
* ~~~
*
* @property
array $clients list of Auth clients with their configuration in format: 'clientId' => [...]
* @property
ClientInterface[] $clients List of auth clients. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/authclient/OAuthToken.php
View file @
943bf889
...
...
@@ -12,9 +12,14 @@ use yii\base\Object;
/**
* Token represents OAuth token.
*
* @property array $params token parameters.
* @property string $token token value.
* @property string $tokenSecret token secret value.
* @property integer $expireDuration Token expiration duration. Note that the type of this property differs in
* getter and setter. See [[getExpireDuration()]] and [[setExpireDuration()]] for details.
* @property string $expireDurationParamKey Expire duration param key.
* @property boolean $isExpired Is token expired. This property is read-only.
* @property boolean $isValid Is token valid. This property is read-only.
* @property array $params This property is read-only.
* @property string $token Token value.
* @property string $tokenSecret Token secret value.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/authclient/OpenId.php
View file @
943bf889
...
...
@@ -36,9 +36,9 @@ use Yii;
*
* @see http://openid.net/
*
* @property string $
returnUrl authentication return URL
.
* @property string $
claimedId claimed identifier (identity)
.
* @property string $trustRoot
client trust root (realm), by default [[\yii\web\Request::hostInfo]] value will be used
.
* @property string $
claimedId Claimed identifier (identity)
.
* @property string $
returnUrl Authentication return URL
.
* @property string $trustRoot
Client trust root (realm)
.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/authclient/signature/BaseMethod.php
View file @
943bf889
...
...
@@ -12,8 +12,6 @@ use yii\base\Object;
/**
* BaseMethod is a base class for the OAuth signature methods.
*
* @property string $name method canonical name. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/authclient/signature/RsaSha1.php
View file @
943bf889
...
...
@@ -15,8 +15,8 @@ use yii\base\NotSupportedException;
*
* Note: This class require PHP "OpenSSL" extension({@link http://php.net/manual/en/book.openssl.php}).
*
* @property string $privateCertificate
OpenSSL p
rivate key certificate content.
* @property string $publicCertificate
OpenSSL p
ublic key certificate content.
* @property string $privateCertificate
P
rivate key certificate content.
* @property string $publicCertificate
P
ublic key certificate content.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/authclient/widgets/Choice.php
View file @
943bf889
...
...
@@ -42,8 +42,8 @@ use yii\authclient\ClientInterface;
*
* @see \yii\authclient\AuthAction
*
* @property
ClientInterface[] $providers auth providers list
.
* @property
array $baseAuthUrl configuration for the external services base authentication URL
.
* @property
array $baseAuthUrl Base auth URL configuration. This property is read-only
.
* @property
ClientInterface[] $clients Auth providers. This property is read-only
.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/debug/components/search/matches/Base.php
View file @
943bf889
extensions/yii/debug/components/search/matches/Greater.php
View file @
943bf889
extensions/yii/debug/components/search/matches/Lower.php
View file @
943bf889
extensions/yii/mongodb/ActiveQuery.php
View file @
943bf889
...
...
@@ -29,6 +29,8 @@ use yii\db\ActiveQueryTrait;
* $customers = Customer::find()->with('orders')->asArray()->all();
* ~~~
*
* @property Collection $collection Collection instance. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/mongodb/Collection.php
View file @
943bf889
...
...
@@ -58,9 +58,10 @@ use yii\helpers\Json;
* even if they are plain strings. However if you have other columns, containing [[\MongoId]], you
* should take care of possible typecast on your own.
*
* @property string $name name of this collection. This property is read-only.
* @property string $fullName full name of this collection, including database name. This property is read-only.
* @property array $lastError last error information. This property is read-only.
* @property string $fullName Full name of this collection, including database name. This property is
* read-only.
* @property array $lastError Last error information. This property is read-only.
* @property string $name Name of this collection. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/mongodb/Connection.php
View file @
943bf889
...
...
@@ -63,6 +63,8 @@ use Yii;
* ]
* ~~~
*
* @property Database $database Database instance. This property is read-only.
* @property file\Collection $fileCollection Mongo GridFS collection instance. This property is read-only.
* @property boolean $isActive Whether the Mongo connection is established. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
...
...
extensions/yii/mongodb/Database.php
View file @
943bf889
...
...
@@ -14,7 +14,8 @@ use yii\helpers\Json;
/**
* Database represents the Mongo database information.
*
* @property string $name name of this database. This property is read-only.
* @property file\Collection $fileCollection Mongo GridFS collection. This property is read-only.
* @property string $name Name of this database. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/mongodb/Query.php
View file @
943bf889
...
...
@@ -31,6 +31,8 @@ use Yii;
* $rows = $query->all();
* ~~~
*
* @property Collection $collection Collection instance. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/mongodb/file/ActiveQuery.php
View file @
943bf889
...
...
@@ -29,6 +29,8 @@ use yii\db\ActiveQueryTrait;
* $images = ImageFile::find()->with('tags')->asArray()->all();
* ~~~
*
* @property Collection $collection Collection instance. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/mongodb/file/ActiveRecord.php
View file @
943bf889
...
...
@@ -36,14 +36,8 @@ use yii\web\UploadedFile;
*
* Note: [[newFileContent]] always takes precedence over [[file]].
*
* @property \MongoId|string $_id primary key.
* @property string $filename name of stored file.
* @property \MongoDate $uploadDate file upload date.
* @property integer $length file size.
* @property integer $chunkSize file chunk size.
* @property string $md5 file md5 hash.
* @property \MongoGridFSFile|\yii\web\UploadedFile|string $file associated file.
* @property string $newFileContent new file content.
* @property null|string $fileContent File content. This property is read-only.
* @property resource $fileResource File stream resource. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/mongodb/file/Collection.php
View file @
943bf889
...
...
@@ -17,8 +17,7 @@ use Yii;
*
* File collection inherits all interface from regular [[\yii\mongo\Collection]], adding methods to store files.
*
* @property \yii\mongo\Collection $chunkCollection file chunks Mongo collection. This property is read-only.
* @method \MongoGridFSCursor find() returns a cursor for the search results.
* @property \yii\mongodb\Collection $chunkCollection Mongo collection instance. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
...
...
extensions/yii/mongodb/file/Query.php
View file @
943bf889
...
...
@@ -16,6 +16,8 @@ use Yii;
* Found files will be represented as arrays of file document attributes with
* additional 'file' key, which stores [[\MongoGridFSFile]] instance.
*
* @property Collection $collection Collection instance. This property is read-only.
*
* @author Paul Klimov <klimov.paul@gmail.com>
* @since 2.0
*/
...
...
extensions/yii/sphinx/ActiveRecord.php
View file @
943bf889
...
...
@@ -22,18 +22,6 @@ use yii\helpers\StringHelper;
* Warning: optimistic lock will NOT work in case of updating fields (not attributes) for the
* runtime indexes!
*
* @property array $dirtyAttributes The changed attribute values (name-value pairs). This property is
* read-only.
* @property boolean $isNewRecord Whether the record is new and should be inserted when calling [[save()]].
* @property array $oldAttributes The old attribute values (name-value pairs).
* @property mixed $oldPrimaryKey The old primary key value. An array (column name => column value) is
* returned if the primary key is composite. A string is returned otherwise (null will be returned if the key
* value is null). This property is read-only.
* @property array $relatedRecords An array of the populated related records indexed by relation names. This property is
* read-only.
* @property mixed $primaryKey The primary key value. An array (column name => column value) is returned if
* the primary key is composite. A string is returned otherwise (null will be returned if the key value is null).
* This property is read-only.
* @property string $snippet Snippet value.
* @property string $snippetSource Snippet source string. This property is read-only.
*
...
...
framework/yii/db/BaseActiveRecord.php
View file @
943bf889
...
...
@@ -30,11 +30,11 @@ use yii\helpers\Inflector;
* @property mixed $oldPrimaryKey The old primary key value. An array (column name => column value) is
* returned if the primary key is composite. A string is returned otherwise (null will be returned if the key
* value is null). This property is read-only.
* @property array $relatedRecords An array of the populated related records indexed by relation names. This property is
* read-only.
* @property mixed $primaryKey The primary key value. An array (column name => column value) is returned if
* the primary key is composite. A string is returned otherwise (null will be returned if the key value is null).
* This property is read-only.
* @property array $relatedRecords An array of related records indexed by relation names. This property is
* read-only.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @author Carsten Brandt <mail@cebe.cc>
...
...
framework/yii/db/oci/Schema.php
View file @
943bf889
...
...
@@ -15,6 +15,8 @@ use yii\db\ColumnSchema;
*
* @todo mapping from physical types to abstract types
*
* @property string $defaultSchema Default schema.
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/
...
...
framework/yii/web/Request.php
View file @
943bf889
...
...
@@ -50,6 +50,7 @@ use yii\helpers\StringHelper;
* @property boolean $isPut Whether this is a PUT request. This property is read-only.
* @property boolean $isSecureConnection If the request is sent via secure channel (https). This property is
* read-only.
* @property string $maskedCsrfToken The masked CSRF token. This property is read-only.
* @property string $method Request method, such as GET, POST, HEAD, PUT, PATCH, DELETE. The value returned is
* turned into upper case. This property is read-only.
* @property array $patch The PATCH request parameter values. This property is read-only.
...
...
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