Code |
Context if (!isset($Model->{$name}) || !is_object($Model->{$name})) {
if ($throwErrors) {
trigger_error(sprintf(__('Model "%s" is not associated with model "%s"', true), $Model->alias, $name), E_USER_WARNING);
$Model = Resource
Resource::$name = "Resource"
Resource::$alias = "Res"
Resource::$actsAs = array
Resource::$primaryKey = "rid"
Resource::$displayField = "name"
Resource::$validate = array
Resource::$belongsTo = array
Resource::$hasOne = array
Resource::$hasMany = array
Resource::$hasAndBelongsToMany = array
Resource::$useDbConfig = "default"
Resource::$useTable = "resources"
Resource::$id = "MetaNetX"
Resource::$data = array
Resource::$table = "resources"
Resource::$_schema = array
Resource::$validationErrors = array
Resource::$tablePrefix = ""
Resource::$tableToModel = array
Resource::$logTransactions = false
Resource::$cacheQueries = false
Resource::$Behaviors = BehaviorCollection object
Resource::$whitelist = array
Resource::$cacheSources = true
Resource::$findQueryType = "first"
Resource::$recursive = 1
Resource::$order = NULL
Resource::$virtualFields = array
Resource::$__associationKeys = array
Resource::$__associations = array
Resource::$__backAssociation = array
Resource::$__insertID = NULL
Resource::$__numRows = NULL
Resource::$__affectedRows = NULL
Resource::$_findMethods = array
Resource::$Sibgroup = Sibgroup object
Resource::$Status = Status object
Resource::$EmbraceStatus = EmbraceStatus object
Resource::$Defparam = Defparam object
Resource::$Testparam = Testparam object
Resource::$Softwaretype = Softwaretype object
Resource::$Keyword = Keyword object
Resource::$Category = Category object
Resource::$Protocol = Protocol object
Resource::$Querytype = Querytype object
Resource::$Ressof = AppModel object
Resource::$Reskey = AppModel object
Resource::$Rescat = AppModel object
Resource::$Respro = AppModel object
Resource::$Resquery = AppModel object
$contain = array(
"Sibgroup",
"Softwaretype",
"Keyword",
"Category",
"Protocol",
"Querytype",
"syn"
)
$containments = array(
"models" => array(
"Sibgroup" => array(),
"Softwaretype" => array(),
"Keyword" => array(),
"Category" => array(),
"Protocol" => array(),
"Querytype" => array()
),
"depth" => 0
)
$throwErrors = true
$options = array(
"className",
"joinTable",
"with",
"foreignKey",
"associationForeignKey",
"conditions",
"fields",
"order",
"limit",
"offset",
"unique",
"finderQuery",
"deleteQuery",
"insertQuery"
)
$keep = array(
"Sibgroup" => array(),
"Softwaretype" => array(),
"Keyword" => array(),
"Category" => array(),
"Protocol" => array(),
"Querytype" => array()
)
$depth = array()
$name = "syn"
$children = array()
$keys = array()
$depths = array(
1,
1,
1,
1,
1,
1
)
ContainableBehavior::containments() - CORE/cake/libs/model/behaviors/containable.php, line 363
ContainableBehavior::beforeFind() - CORE/cake/libs/model/behaviors/containable.php, line 121
ModelBehavior::dispatchMethod() - CORE/cake/libs/model/model_behavior.php, line 169
BehaviorCollection::trigger() - CORE/cake/libs/model/model_behavior.php, line 494
Model::find() - CORE/cake/libs/model/model.php, line 2108
ResourcesController::detail() - APP/controllers/resources_controller.php, line 577
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 89