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
b17c8270
Commit
b17c8270
authored
Jan 05, 2014
by
Carsten Brandt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed phpdoc extension to apidoc
parent
63e72623
Hide whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
91 additions
and
63 deletions
+91
-63
.gitignore
extensions/yii/apidoc/.gitignore
+0
-0
CHANGELOG.md
extensions/yii/apidoc/CHANGELOG.md
+1
-1
LICENSE.md
extensions/yii/apidoc/LICENSE.md
+0
-0
README.md
extensions/yii/apidoc/README.md
+2
-2
api.css
extensions/yii/apidoc/assets/css/api.css
+0
-0
style.css
extensions/yii/apidoc/assets/css/style.css
+1
-1
PhpdocController.php
extensions/yii/apidoc/commands/PhpdocController.php
+3
-4
BaseRenderer.php
extensions/yii/apidoc/components/BaseRenderer.php
+5
-6
OfflineRenderer.php
extensions/yii/apidoc/components/OfflineRenderer.php
+8
-8
composer.json
extensions/yii/apidoc/composer.json
+6
-6
BaseDoc.php
extensions/yii/apidoc/models/BaseDoc.php
+6
-1
ClassDoc.php
extensions/yii/apidoc/models/ClassDoc.php
+6
-1
Context.php
extensions/yii/apidoc/models/Context.php
+4
-4
EventDoc.php
extensions/yii/apidoc/models/EventDoc.php
+6
-1
File.php
extensions/yii/apidoc/models/File.php
+6
-1
FunctionDoc.php
extensions/yii/apidoc/models/FunctionDoc.php
+6
-1
InterfaceDoc.php
extensions/yii/apidoc/models/InterfaceDoc.php
+4
-4
MethodDoc.php
extensions/yii/apidoc/models/MethodDoc.php
+6
-1
ParamDoc.php
extensions/yii/apidoc/models/ParamDoc.php
+4
-4
PropertyDoc.php
extensions/yii/apidoc/models/PropertyDoc.php
+4
-4
TraitDoc.php
extensions/yii/apidoc/models/TraitDoc.php
+4
-4
class.php
extensions/yii/apidoc/views/class.php
+3
-3
classSummary.php
extensions/yii/apidoc/views/classSummary.php
+3
-3
index.php
extensions/yii/apidoc/views/index.php
+3
-3
offline.php
extensions/yii/apidoc/views/layouts/offline.php
+0
-0
No files found.
extensions/yii/
php
doc/.gitignore
→
extensions/yii/
api
doc/.gitignore
View file @
b17c8270
File moved
extensions/yii/
php
doc/CHANGELOG.md
→
extensions/yii/
api
doc/CHANGELOG.md
View file @
b17c8270
Yii Framework 2
php
doc extension Change Log
Yii Framework 2
api
doc extension Change Log
===========================================
===========================================
2.
0.0 beta under development
2.
0.0 beta under development
...
...
extensions/yii/
php
doc/LICENSE.md
→
extensions/yii/
api
doc/LICENSE.md
View file @
b17c8270
File moved
extensions/yii/
php
doc/README.md
→
extensions/yii/
api
doc/README.md
View file @
b17c8270
...
@@ -11,13 +11,13 @@ The preferred way to install this extension is through [composer](http://getcomp
...
@@ -11,13 +11,13 @@ The preferred way to install this extension is through [composer](http://getcomp
Either run
Either run
```
```
php composer.phar require yiisoft/yii2-
php
doc "*"
php composer.phar require yiisoft/yii2-
api
doc "*"
```
```
or add
or add
```
json
```
json
"yiisoft/yii2-
php
doc"
:
"*"
"yiisoft/yii2-
api
doc"
:
"*"
```
```
to the require section of your composer.json.
to the require section of your composer.json.
...
...
extensions/yii/
php
doc/assets/css/api.css
→
extensions/yii/
api
doc/assets/css/api.css
View file @
b17c8270
File moved
extensions/yii/
php
doc/assets/css/style.css
→
extensions/yii/
api
doc/assets/css/style.css
View file @
b17c8270
...
@@ -4,7 +4,7 @@ body
...
@@ -4,7 +4,7 @@ body
body
,
div
,
span
,
p
,
input
body
,
div
,
span
,
p
,
input
{
{
font-family
:
Verdana
,
sans-serif
,
Arial
;
font-family
:
Verdana
,
Arial
,
sans-serif
;
font-size
:
10pt
;
font-size
:
10pt
;
color
:
#333333
;
color
:
#333333
;
}
}
...
...
extensions/yii/
php
doc/commands/PhpdocController.php
→
extensions/yii/
api
doc/commands/PhpdocController.php
View file @
b17c8270
...
@@ -5,20 +5,19 @@
...
@@ -5,20 +5,19 @@
* @license http://www.yiiframework.com/license/
* @license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\commands
;
namespace
yii\
api
doc\commands
;
use
phpDocumentor\Reflection\FileReflector
;
use
phpDocumentor\Reflection\FileReflector
;
use
yii\console\Controller
;
use
yii\console\Controller
;
use
yii\helpers\Console
;
use
yii\helpers\Console
;
use
yii\helpers\FileHelper
;
use
yii\helpers\FileHelper
;
use
yii\
php
doc\components\OfflineRenderer
;
use
yii\
api
doc\components\OfflineRenderer
;
use
yii\
php
doc\models\Context
;
use
yii\
api
doc\models\Context
;
use
Yii
;
use
Yii
;
/**
/**
*
*
* @author Carsten Brandt <mail@cebe.cc>
* @author Carsten Brandt <mail@cebe.cc>
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
* @since 2.0
*/
*/
class
PhpdocController
extends
Controller
class
PhpdocController
extends
Controller
...
...
extensions/yii/
php
doc/components/BaseRenderer.php
→
extensions/yii/
api
doc/components/BaseRenderer.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\phpdoc\components
;
namespace
yii\apidoc\components
;
use
Yii
;
use
Yii
;
use
yii\base\Component
;
use
yii\base\Component
;
use
yii\console\Controller
;
use
yii\console\Controller
;
use
yii\
php
doc\models\Context
;
use
yii\
api
doc\models\Context
;
use
yii\web\View
;
use
yii\web\View
;
abstract
class
BaseRenderer
extends
Component
abstract
class
BaseRenderer
extends
Component
...
...
extensions/yii/
php
doc/components/OfflineRenderer.php
→
extensions/yii/
api
doc/components/OfflineRenderer.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\components
;
namespace
yii\
api
doc\components
;
use
yii\base\ViewContextInterface
;
use
yii\base\ViewContextInterface
;
...
@@ -13,11 +13,11 @@ use yii\console\Controller;
...
@@ -13,11 +13,11 @@ use yii\console\Controller;
use
yii\helpers\Console
;
use
yii\helpers\Console
;
use
yii\helpers\FileHelper
;
use
yii\helpers\FileHelper
;
use
yii\helpers\Html
;
use
yii\helpers\Html
;
use
yii\
php
doc\models\ClassDoc
;
use
yii\
api
doc\models\ClassDoc
;
use
yii\
php
doc\models\Context
;
use
yii\
api
doc\models\Context
;
use
Yii
;
use
Yii
;
use
yii\
php
doc\models\InterfaceDoc
;
use
yii\
api
doc\models\InterfaceDoc
;
use
yii\
php
doc\models\TraitDoc
;
use
yii\
api
doc\models\TraitDoc
;
class
OfflineRenderer
extends
BaseRenderer
implements
ViewContextInterface
class
OfflineRenderer
extends
BaseRenderer
implements
ViewContextInterface
{
{
...
...
extensions/yii/
php
doc/composer.json
→
extensions/yii/
api
doc/composer.json
View file @
b17c8270
{
{
"name"
:
"yiisoft/yii2-
php
doc"
,
"name"
:
"yiisoft/yii2-
api
doc"
,
"description"
:
"
PHP
Documentation generator for the Yii framework 2.0"
,
"description"
:
"
API
Documentation generator for the Yii framework 2.0"
,
"keywords"
:
[
"yii"
,
"phpdoc"
,
"api"
,
"documentation"
],
"keywords"
:
[
"yii"
,
"phpdoc"
,
"api
doc"
,
"api
"
,
"documentation"
],
"type"
:
"yii2-extension"
,
"type"
:
"yii2-extension"
,
"license"
:
"BSD-3-Clause"
,
"license"
:
"BSD-3-Clause"
,
"support"
:
{
"support"
:
{
"issues"
:
"https://github.com/yiisoft/yii2/issues?labels=ext%3A
redis
"
,
"issues"
:
"https://github.com/yiisoft/yii2/issues?labels=ext%3A
apidoc
"
,
"forum"
:
"http://www.yiiframework.com/forum/"
,
"forum"
:
"http://www.yiiframework.com/forum/"
,
"wiki"
:
"http://www.yiiframework.com/wiki/"
,
"wiki"
:
"http://www.yiiframework.com/wiki/"
,
"irc"
:
"irc://irc.freenode.net/yii"
,
"irc"
:
"irc://irc.freenode.net/yii"
,
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
"phpdocumentor/reflection"
:
"1.0.2"
"phpdocumentor/reflection"
:
"1.0.2"
},
},
"autoload"
:
{
"autoload"
:
{
"psr-0"
:
{
"yii
\\
redis
\\
"
:
""
}
"psr-0"
:
{
"yii
\\
apidoc
\\
"
:
""
}
},
},
"target-dir"
:
"yii/
redis
"
"target-dir"
:
"yii/
apidoc
"
}
}
extensions/yii/
php
doc/models/BaseDoc.php
→
extensions/yii/
api
doc/models/BaseDoc.php
View file @
b17c8270
<?php
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
use
yii\base\Object
;
use
yii\base\Object
;
...
...
extensions/yii/
php
doc/models/ClassDoc.php
→
extensions/yii/
api
doc/models/ClassDoc.php
View file @
b17c8270
<?php
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
/**
/**
* Class ClassDoc
* Class ClassDoc
...
...
extensions/yii/
php
doc/models/Context.php
→
extensions/yii/
api
doc/models/Context.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
use
yii\base\Component
;
use
yii\base\Component
;
...
...
extensions/yii/
php
doc/models/EventDoc.php
→
extensions/yii/
api
doc/models/EventDoc.php
View file @
b17c8270
<?php
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
EventDoc
extends
BaseDoc
class
EventDoc
extends
BaseDoc
{
{
...
...
extensions/yii/
php
doc/models/File.php
→
extensions/yii/
api
doc/models/File.php
View file @
b17c8270
<?php
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
use
phpDocumentor\Reflection\FileReflector
;
use
phpDocumentor\Reflection\FileReflector
;
use
yii\base\Object
;
use
yii\base\Object
;
...
...
extensions/yii/
php
doc/models/FunctionDoc.php
→
extensions/yii/
api
doc/models/FunctionDoc.php
View file @
b17c8270
<?php
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
FunctionDoc
extends
BaseDoc
class
FunctionDoc
extends
BaseDoc
{
{
...
...
extensions/yii/
php
doc/models/InterfaceDoc.php
→
extensions/yii/
api
doc/models/InterfaceDoc.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
InterfaceDoc
extends
BaseDoc
class
InterfaceDoc
extends
BaseDoc
{
{
...
...
extensions/yii/
php
doc/models/MethodDoc.php
→
extensions/yii/
api
doc/models/MethodDoc.php
View file @
b17c8270
<?php
<?php
/**
* @link http://www.yiiframework.com/
* @copyright Copyright (c) 2008 Yii Software LLC
* @license http://www.yiiframework.com/license/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
MethodDoc
extends
FunctionDoc
class
MethodDoc
extends
FunctionDoc
{
{
...
...
extensions/yii/
php
doc/models/ParamDoc.php
→
extensions/yii/
api
doc/models/ParamDoc.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
ParamDoc
class
ParamDoc
{
{
...
...
extensions/yii/
php
doc/models/PropertyDoc.php
→
extensions/yii/
api
doc/models/PropertyDoc.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
PropertyDoc
extends
BaseDoc
class
PropertyDoc
extends
BaseDoc
{
{
...
...
extensions/yii/
php
doc/models/TraitDoc.php
→
extensions/yii/
api
doc/models/TraitDoc.php
View file @
b17c8270
<?php
<?php
/**
/**
*
*
@link http://www.yiiframework.com/
*
*
@copyright Copyright (c) 2008 Yii Software LLC
* @
author Carsten Brandt <mail@cebe.cc>
* @
license http://www.yiiframework.com/license/
*/
*/
namespace
yii\
php
doc\models
;
namespace
yii\
api
doc\models
;
class
TraitDoc
extends
BaseDoc
class
TraitDoc
extends
BaseDoc
{
{
...
...
extensions/yii/
php
doc/views/class.php
→
extensions/yii/
api
doc/views/class.php
View file @
b17c8270
<?php
<?php
use
yii\
php
doc\models\ClassDoc
;
use
yii\
api
doc\models\ClassDoc
;
use
yii\
php
doc\models\InterfaceDoc
;
use
yii\
api
doc\models\InterfaceDoc
;
use
yii\
php
doc\models\TraitDoc
;
use
yii\
api
doc\models\TraitDoc
;
/**
/**
* @var ClassDoc|InterfaceDoc|TraitDoc $item
* @var ClassDoc|InterfaceDoc|TraitDoc $item
* @var yii\web\View $this
* @var yii\web\View $this
...
...
extensions/yii/
php
doc/views/classSummary.php
→
extensions/yii/
api
doc/views/classSummary.php
View file @
b17c8270
<?php
<?php
use
yii\
php
doc\models\ClassDoc
;
use
yii\
api
doc\models\ClassDoc
;
use
yii\
php
doc\models\InterfaceDoc
;
use
yii\
api
doc\models\InterfaceDoc
;
use
yii\
php
doc\models\TraitDoc
;
use
yii\
api
doc\models\TraitDoc
;
/**
/**
* @var ClassDoc|InterfaceDoc|TraitDoc $item
* @var ClassDoc|InterfaceDoc|TraitDoc $item
* @var yii\web\View $this
* @var yii\web\View $this
...
...
extensions/yii/
php
doc/views/index.php
→
extensions/yii/
api
doc/views/index.php
View file @
b17c8270
<?php
<?php
use
yii\
php
doc\models\ClassDoc
;
use
yii\
api
doc\models\ClassDoc
;
use
yii\
php
doc\models\InterfaceDoc
;
use
yii\
api
doc\models\InterfaceDoc
;
use
yii\
php
doc\models\TraitDoc
;
use
yii\
api
doc\models\TraitDoc
;
/**
/**
* @var ClassDoc[]|InterfaceDoc[]|TraitDoc[] $items
* @var ClassDoc[]|InterfaceDoc[]|TraitDoc[] $items
* @var yii\web\View $this
* @var yii\web\View $this
...
...
extensions/yii/
php
doc/views/layouts/offline.php
→
extensions/yii/
api
doc/views/layouts/offline.php
View file @
b17c8270
File moved
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