Carsten Brandt
11 years ago
50 changed files with 1199 additions and 1171 deletions
@ -1,4 +1,4 @@ |
|||||||
Yii Framework 2 phpdoc extension Change Log |
Yii Framework 2 apidoc extension Change Log |
||||||
=========================================== |
=========================================== |
||||||
|
|
||||||
2.0.0 beta under development |
2.0.0 beta under development |
@ -1,17 +1,16 @@ |
|||||||
<?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\phpdoc\models\Context; |
use yii\apidoc\models\Context; |
||||||
use yii\web\View; |
use yii\web\View; |
||||||
|
|
||||||
abstract class BaseRenderer extends Component |
abstract class BaseRenderer extends Component |
@ -1,6 +1,11 @@ |
|||||||
<?php |
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
namespace yii\phpdoc\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
use yii\base\Object; |
use yii\base\Object; |
||||||
|
|
@ -1,6 +1,11 @@ |
|||||||
<?php |
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
namespace yii\phpdoc\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
/** |
/** |
||||||
* Class ClassDoc |
* Class ClassDoc |
@ -1,11 +1,11 @@ |
|||||||
<?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\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
|
|
||||||
use yii\base\Component; |
use yii\base\Component; |
@ -0,0 +1,15 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
|
namespace yii\apidoc\models; |
||||||
|
|
||||||
|
class EventDoc extends BaseDoc |
||||||
|
{ |
||||||
|
public $isInherited; |
||||||
|
public $definedBy; |
||||||
|
public $trigger; |
||||||
|
} |
@ -1,6 +1,11 @@ |
|||||||
<?php |
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
namespace yii\phpdoc\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
use phpDocumentor\Reflection\FileReflector; |
use phpDocumentor\Reflection\FileReflector; |
||||||
use yii\base\Object; |
use yii\base\Object; |
@ -0,0 +1,15 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
|
namespace yii\apidoc\models; |
||||||
|
|
||||||
|
class FunctionDoc extends BaseDoc |
||||||
|
{ |
||||||
|
public $signature; |
||||||
|
public $input=array(); |
||||||
|
public $output; |
||||||
|
} |
@ -1,11 +1,11 @@ |
|||||||
<?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\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
class InterfaceDoc extends BaseDoc |
class InterfaceDoc extends BaseDoc |
||||||
{ |
{ |
@ -0,0 +1,18 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
|
namespace yii\apidoc\models; |
||||||
|
|
||||||
|
class MethodDoc extends FunctionDoc |
||||||
|
{ |
||||||
|
public $isAbstract; |
||||||
|
public $isFinal; |
||||||
|
public $isProtected; |
||||||
|
public $isStatic; |
||||||
|
public $isInherited; |
||||||
|
public $definedBy; |
||||||
|
} |
@ -0,0 +1,18 @@ |
|||||||
|
<?php |
||||||
|
/** |
||||||
|
* @link http://www.yiiframework.com/ |
||||||
|
* @copyright Copyright (c) 2008 Yii Software LLC |
||||||
|
* @license http://www.yiiframework.com/license/ |
||||||
|
*/ |
||||||
|
|
||||||
|
namespace yii\apidoc\models; |
||||||
|
|
||||||
|
class ParamDoc |
||||||
|
{ |
||||||
|
public $name; |
||||||
|
public $description; |
||||||
|
public $type; |
||||||
|
public $isOptional; |
||||||
|
public $defaultValue; |
||||||
|
public $isPassedByReference; |
||||||
|
} |
@ -1,11 +1,11 @@ |
|||||||
<?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\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
class PropertyDoc extends BaseDoc |
class PropertyDoc extends BaseDoc |
||||||
{ |
{ |
@ -1,11 +1,11 @@ |
|||||||
<?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\models; |
namespace yii\apidoc\models; |
||||||
|
|
||||||
class TraitDoc extends BaseDoc |
class TraitDoc extends BaseDoc |
||||||
{ |
{ |
@ -1,8 +1,8 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
use yii\phpdoc\models\ClassDoc; |
use yii\apidoc\models\ClassDoc; |
||||||
use yii\phpdoc\models\InterfaceDoc; |
use yii\apidoc\models\InterfaceDoc; |
||||||
use yii\phpdoc\models\TraitDoc; |
use yii\apidoc\models\TraitDoc; |
||||||
/** |
/** |
||||||
* @var ClassDoc|InterfaceDoc|TraitDoc $item |
* @var ClassDoc|InterfaceDoc|TraitDoc $item |
||||||
* @var yii\web\View $this |
* @var yii\web\View $this |
@ -1,8 +1,8 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
use yii\phpdoc\models\ClassDoc; |
use yii\apidoc\models\ClassDoc; |
||||||
use yii\phpdoc\models\InterfaceDoc; |
use yii\apidoc\models\InterfaceDoc; |
||||||
use yii\phpdoc\models\TraitDoc; |
use yii\apidoc\models\TraitDoc; |
||||||
/** |
/** |
||||||
* @var ClassDoc|InterfaceDoc|TraitDoc $item |
* @var ClassDoc|InterfaceDoc|TraitDoc $item |
||||||
* @var yii\web\View $this |
* @var yii\web\View $this |
@ -1,8 +1,8 @@ |
|||||||
<?php |
<?php |
||||||
|
|
||||||
use yii\phpdoc\models\ClassDoc; |
use yii\apidoc\models\ClassDoc; |
||||||
use yii\phpdoc\models\InterfaceDoc; |
use yii\apidoc\models\InterfaceDoc; |
||||||
use yii\phpdoc\models\TraitDoc; |
use yii\apidoc\models\TraitDoc; |
||||||
/** |
/** |
||||||
* @var ClassDoc[]|InterfaceDoc[]|TraitDoc[] $items |
* @var ClassDoc[]|InterfaceDoc[]|TraitDoc[] $items |
||||||
* @var yii\web\View $this |
* @var yii\web\View $this |
@ -1,10 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace yii\phpdoc\models; |
|
||||||
|
|
||||||
class EventDoc extends BaseDoc |
|
||||||
{ |
|
||||||
public $isInherited; |
|
||||||
public $definedBy; |
|
||||||
public $trigger; |
|
||||||
} |
|
@ -1,10 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace yii\phpdoc\models; |
|
||||||
|
|
||||||
class FunctionDoc extends BaseDoc |
|
||||||
{ |
|
||||||
public $signature; |
|
||||||
public $input=array(); |
|
||||||
public $output; |
|
||||||
} |
|
@ -1,13 +0,0 @@ |
|||||||
<?php |
|
||||||
|
|
||||||
namespace yii\phpdoc\models; |
|
||||||
|
|
||||||
class MethodDoc extends FunctionDoc |
|
||||||
{ |
|
||||||
public $isAbstract; |
|
||||||
public $isFinal; |
|
||||||
public $isProtected; |
|
||||||
public $isStatic; |
|
||||||
public $isInherited; |
|
||||||
public $definedBy; |
|
||||||
} |
|
@ -1,18 +0,0 @@ |
|||||||
<?php |
|
||||||
/** |
|
||||||
* |
|
||||||
* |
|
||||||
* @author Carsten Brandt <mail@cebe.cc> |
|
||||||
*/ |
|
||||||
|
|
||||||
namespace yii\phpdoc\models; |
|
||||||
|
|
||||||
class ParamDoc |
|
||||||
{ |
|
||||||
public $name; |
|
||||||
public $description; |
|
||||||
public $type; |
|
||||||
public $isOptional; |
|
||||||
public $defaultValue; |
|
||||||
public $isPassedByReference; |
|
||||||
} |
|
Loading…
Reference in new issue