Skip to content
Browse files

Included @var in API that was missing.

  • Loading branch information...
1 parent fedadc0 commit 2a50a1ea99f838ab9d1ec4c75c16f25453c8848b @jrbasso jrbasso committed
View
15 lib/Cake/Console/Command/UpgradeShell.php
@@ -8,10 +8,25 @@
*/
class UpgradeShell extends Shell {
+/**
+ * Files
+ *
+ * @var array
+ */
protected $_files = array();
+/**
+ * Paths
+ *
+ * @var array
+ */
protected $_paths = array();
+/**
+ * Map
+ *
+ * @var array
+ */
protected $_map = array(
'Controller' => 'Controller',
'Component' => 'Controller/Component',
View
6 lib/Cake/Controller/CakeErrorController.php
@@ -7,6 +7,12 @@
* @package Cake.Controller
*/
class CakeErrorController extends AppController {
+
+/**
+ * Controller name
+ *
+ * @var string
+ */
public $name = 'CakeError';
/**
View
7 lib/Cake/Core/App.php
@@ -148,24 +148,28 @@ class App {
/**
* Holds the location of each class
*
+ * @var array
*/
private static $__classMap = array();
/**
* Holds the possible paths for each package name
*
+ * @var array
*/
private static $__packages = array();
/**
* Holds the templates for each customizable package path in the application
*
+ * @var array
*/
private static $__packageFormat = array();
/**
* Maps an old style CakePHP class type to the corresponding package
*
+ * @var array
*/
public static $legacy = array(
'models' => 'Model',
@@ -182,12 +186,14 @@ class App {
/**
* Indicates whether the class cache should be stored again because of an addition to it
*
+ * @var boolean
*/
private static $_cacheChange = false;
/**
* Indicates whether the object cache should be stored again because of an addition to it
*
+ * @var boolean
*/
private static $_objectCacheChange = false;
@@ -195,6 +201,7 @@ class App {
* Indicates the the Application is in the bootstrapping process. Used to better cache
* loaded classes while the cache libraries have not been yet initialized
*
+ * @var boolean
*/
public static $bootstrapping = false;
View
1 lib/Cake/Core/CakePlugin.php
@@ -27,6 +27,7 @@ class CakePlugin {
/**
* Holds a list of all loaded plugins and their configuration
*
+ * @var array
*/
private static $_plugins = array();
View
19 lib/Cake/Model/Behavior/TranslateBehavior.php
@@ -505,7 +505,26 @@ public function unbindTranslation($model, $fields = null) {
* @package Cake.Model.Behavior
*/
class I18nModel extends AppModel {
+
+/**
+ * Model name
+ *
+ * @var string
+ */
public $name = 'I18nModel';
+
+/**
+ * Table name
+ *
+ * @var string
+ */
public $useTable = 'i18n';
+
+/**
+ * Display field
+ *
+ * @var string
+ */
public $displayField = 'field';
+
}
View
2 lib/Cake/Model/Datasource/Database/Oracle.php
@@ -42,6 +42,8 @@ class DboOracle extends DboSource {
/**
* Sequence names as introspected from the database
+ *
+ * @var array
*/
protected $_sequences = array();
View
5 lib/Cake/Model/Datasource/Database/Postgres.php
@@ -62,6 +62,11 @@ class Postgres extends DboSource {
'encoding' => ''
);
+/**
+ * Columns
+ *
+ * @var array
+ */
public $columns = array(
'primary_key' => array('name' => 'serial NOT NULL'),
'string' => array('name' => 'varchar', 'limit' => '255'),
View
15 lib/Cake/Model/Model.php
@@ -301,10 +301,25 @@ class Model extends Object {
*/
public $__backAssociation = array();
+/**
+ * Back inner association
+ *
+ * @var array
+ */
public $__backInnerAssociation = array();
+/**
+ * Back original association
+ *
+ * @var array
+ */
public $__backOriginalAssociation = array();
+/**
+ * Back containable association
+ *
+ * @var array
+ */
public $__backContainableAssociation = array();
/**
View
5 lib/Cake/Routing/Router.php
@@ -81,6 +81,11 @@ class Router {
const ID = '[0-9]+';
const UUID = '[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}';
+/**
+ * Named expressions
+ *
+ * @var array
+ */
private static $__namedExpressions = array(
'Action' => Router::ACTION,
'Year' => Router::YEAR,
View
1 lib/Cake/View/Helper/FormHelper.php
@@ -42,6 +42,7 @@ class FormHelper extends AppHelper {
* Holds the fields array('field_name' => array('type'=> 'string', 'length'=> 100),
* primaryKey and validates array('field_name')
*
+ * @var array
*/
public $fieldset = array();

0 comments on commit 2a50a1e

Please sign in to comment.
Something went wrong with that request. Please try again.