Warning (2): session_start(): open(/tmp/sess_9effbf751a2adb5dadce68b4a45f1641, O_RDWR) failed: No space left on device (28) [CORE/Cake/Model/Datasource/CakeSession.php, line 745]Code Contextsession_cache_limiter($limit);
}
session_start();
$limit = 'must-revalidate'session_start - [internal], line ?? CakeSession::_startSession() - CORE/Cake/Model/Datasource/CakeSession.php, line 745 CakeSession::start() - CORE/Cake/Model/Datasource/CakeSession.php, line 219 CakeSession::write() - CORE/Cake/Model/Datasource/CakeSession.php, line 439 SessionComponent::write() - CORE/Cake/Controller/Component/SessionComponent.php, line 55 AppController::beforeFilter() - APP/Controller/AppController.php, line 55 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 92
Warning (2): session_start() [<a href='http://php.net/function.session-start'>function.session-start</a>]: Failed to read session data: files (path: /tmp) [CORE/Cake/Model/Datasource/CakeSession.php, line 745]Code Contextsession_cache_limiter($limit);
}
session_start();
$limit = 'must-revalidate'session_start - [internal], line ?? CakeSession::_startSession() - CORE/Cake/Model/Datasource/CakeSession.php, line 745 CakeSession::start() - CORE/Cake/Model/Datasource/CakeSession.php, line 219 CakeSession::write() - CORE/Cake/Model/Datasource/CakeSession.php, line 439 SessionComponent::write() - CORE/Cake/Controller/Component/SessionComponent.php, line 55 AppController::beforeFilter() - APP/Controller/AppController.php, line 55 CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 682 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 189 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 92
Error: SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/MYTDNMCr' (Errcode: 28 - No space left on device)
SQL Query: SELECT `Document`.`id`, `Document`.`title`, `Document`.`filename`, `Document`.`filename_verified_on_drive`, `Document`.`filename_batch_verified_on_drive`, `Document`.`url`, `Document`.`video`, `Document`.`description`, `Document`.`text`, `Document`.`added`, `Document`.`start_year`, `Document`.`end_year`, `Document`.`newspaper_id`, `Document`.`all_communities`, `Document`.`driveid`, `Document`.`author_id`, `Document`.`archive`, `Document`.`sort_number`, `Document`.`accession_number` FROM `pembinam_pembina`.`documents` AS `Document` WHERE `Document`.`newspaper_id` IN (45, 6, 7, 2, 5, 8, 134, 135) ORDER BY `Document`.`title` ASC
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_result = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT `Document`.`id`, `Document`.`title`, `Document`.`filename`, `Document`.`filename_verified_on_drive`, `Document`.`filename_batch_verified_on_drive`, `Document`.`url`, `Document`.`video`, `Document`.`description`, `Document`.`text`, `Document`.`added`, `Document`.`start_year`, `Document`.`end_year`, `Document`.`newspaper_id`, `Document`.`all_communities`, `Document`.`driveid`, `Document`.`author_id`, `Document`.`archive`, `Document`.`sort_number`, `Document`.`accession_number` FROM `pembinam_pembina`.`documents` AS `Document` WHERE `Document`.`newspaper_id` IN (45, 6, 7, 2, 5, 8, 134, 135) ORDER BY `Document`.`title` ASC' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT `Document`.`id`, `Document`.`title`, `Document`.`filename`, `Document`.`filename_verified_on_drive`, `Document`.`filename_batch_verified_on_drive`, `Document`.`url`, `Document`.`video`, `Document`.`description`, `Document`.`text`, `Document`.`added`, `Document`.`start_year`, `Document`.`end_year`, `Document`.`newspaper_id`, `Document`.`all_communities`, `Document`.`driveid`, `Document`.`author_id`, `Document`.`archive`, `Document`.`sort_number`, `Document`.`accession_number` FROM `pembinam_pembina`.`documents` AS `Document` WHERE `Document`.`newspaper_id` IN (45, 6, 7, 2, 5, 8, 134, 135) ORDER BY `Document`.`title` ASC' array( 'log' => true ) array()
$query = str_replace('= ({$__cakeID__$}', 'IN ({$__cakeID__$}', $query);
}
$query = str_replace('{$__cakeID__$}', implode(', ', $ids), $query);
return $this->fetchAll($query, $Model->cacheQueries);
}
'SELECT `Document`.`id`, `Document`.`title`, `Document`.`filename`, `Document`.`filename_verified_on_drive`, `Document`.`filename_batch_verified_on_drive`, `Document`.`url`, `Document`.`video`, `Document`.`description`, `Document`.`text`, `Document`.`added`, `Document`.`start_year`, `Document`.`end_year`, `Document`.`newspaper_id`, `Document`.`all_communities`, `Document`.`driveid`, `Document`.`author_id`, `Document`.`archive`, `Document`.`sort_number`, `Document`.`accession_number` FROM `pembinam_pembina`.`documents` AS `Document` WHERE `Document`.`newspaper_id` IN (45, 6, 7, 2, 5, 8, 134, 135) ORDER BY `Document`.`title` ASC' array()
// Fetch
$assocResultSet = array();
if (!empty($assocIds)) {
$assocResultSet = $this->_fetchHasMany($Model, $queryTemplate, $assocIds);
}
object(Newspaper) { name => 'Newspaper' displayField => 'name' order => 'Newspaper.name ASC' recursive => (int) 1 validate => array( 'name' => array( 'notempty' => array( [maximum depth reached] ) ) ) belongsTo => array( 'Type' => array( 'className' => 'Type', 'foreignKey' => 'type_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasMany => array( 'Document' => array( 'className' => 'Document', 'foreignKey' => 'newspaper_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => 'Document.title ASC', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) hasAndBelongsToMany => array( 'Site' => array( 'className' => 'Site', 'joinTable' => 'newspapers_sites', 'foreignKey' => 'newspaper_id', 'associationForeignKey' => 'site_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'NewspapersSite', 'dynamicWith' => true ), 'Community' => array( 'className' => 'Community', 'joinTable' => 'communities_newspapers', 'foreignKey' => 'newspaper_id', 'associationForeignKey' => 'community_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'CommunitiesNewspaper', 'dynamicWith' => true ) ) useDbConfig => 'default' useTable => 'newspapers' id => false data => array() schemaName => 'pembinam_pembina' table => 'newspapers' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Newspaper' tableToModel => array( 'newspapers' => 'Newspaper', 'types' => 'Type', 'communities_newspapers' => 'CommunitiesNewspaper', 'newspapers_sites' => 'NewspapersSites', 'documents' => 'Document' ) cacheQueries => false hasOne => array( 'CommunitiesNewspaper' => array( 'className' => 'CommunitiesNewspaper', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ), 'NewspapersSites' => array( 'className' => 'NewspapersSites', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ) ) actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Newspaper' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'all' virtualFields => array() __backAssociation => array( 'hasOne' => array() ) __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) Type => object(Type) { name => 'Type' displayField => 'singular_name' recursive => (int) -1 order => 'Type.singular_name ASC' validate => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'types' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'types' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => null plugin => null alias => 'Type' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } CommunitiesNewspaper => object(AppModel) { useDbConfig => 'default' useTable => 'communities_newspapers' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'communities_newspapers' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CommunitiesNewspaper' alias => 'CommunitiesNewspaper' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } NewspapersSites => object(AppModel) { useDbConfig => 'default' useTable => 'newspapers_sites' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'newspapers_sites' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'NewspapersSites' alias => 'NewspapersSites' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } Document => object(Document) { name => 'Document' displayField => 'title' order => 'Document.start_year DESC' recursive => (int) 0 validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'documents' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'documents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Document' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'primary' ), 'name' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'url' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'text' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'startyear' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'endyear' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'type_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } 'SELECT `Document`.`id`, `Document`.`title`, `Document`.`filename`, `Document`.`filename_verified_on_drive`, `Document`.`filename_batch_verified_on_drive`, `Document`.`url`, `Document`.`video`, `Document`.`description`, `Document`.`text`, `Document`.`added`, `Document`.`start_year`, `Document`.`end_year`, `Document`.`newspaper_id`, `Document`.`all_communities`, `Document`.`driveid`, `Document`.`author_id`, `Document`.`archive`, `Document`.`sort_number`, `Document`.`accession_number` FROM `pembinam_pembina`.`documents` AS `Document` WHERE `Document`.`newspaper_id` IN (45, 6, 7, 2, 5, 8, 134, 135) ORDER BY `Document`.`title` ASC' array( (int) 0 => '45', (int) 1 => '6', (int) 2 => '7', (int) 3 => '2', (int) 4 => '5', (int) 5 => '8', (int) 6 => '134', (int) 7 => '135' )
$stack = array($assoc);
$stack['_joined'] = $joined;
$db->queryAssociation($Model, $LinkModel, $type, $assoc, $assocData, $array, true, $resultSet, $Model->recursive - 1, $stack);
unset($db);
object(Newspaper) { name => 'Newspaper' displayField => 'name' order => 'Newspaper.name ASC' recursive => (int) 1 validate => array( 'name' => array( 'notempty' => array( [maximum depth reached] ) ) ) belongsTo => array( 'Type' => array( 'className' => 'Type', 'foreignKey' => 'type_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasMany => array( 'Document' => array( 'className' => 'Document', 'foreignKey' => 'newspaper_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => 'Document.title ASC', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) hasAndBelongsToMany => array( 'Site' => array( 'className' => 'Site', 'joinTable' => 'newspapers_sites', 'foreignKey' => 'newspaper_id', 'associationForeignKey' => 'site_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'NewspapersSite', 'dynamicWith' => true ), 'Community' => array( 'className' => 'Community', 'joinTable' => 'communities_newspapers', 'foreignKey' => 'newspaper_id', 'associationForeignKey' => 'community_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'CommunitiesNewspaper', 'dynamicWith' => true ) ) useDbConfig => 'default' useTable => 'newspapers' id => false data => array() schemaName => 'pembinam_pembina' table => 'newspapers' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Newspaper' tableToModel => array( 'newspapers' => 'Newspaper', 'types' => 'Type', 'communities_newspapers' => 'CommunitiesNewspaper', 'newspapers_sites' => 'NewspapersSites', 'documents' => 'Document' ) cacheQueries => false hasOne => array( 'CommunitiesNewspaper' => array( 'className' => 'CommunitiesNewspaper', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ), 'NewspapersSites' => array( 'className' => 'NewspapersSites', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ) ) actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Newspaper' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'all' virtualFields => array() __backAssociation => array( 'hasOne' => array() ) __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) Type => object(Type) { name => 'Type' displayField => 'singular_name' recursive => (int) -1 order => 'Type.singular_name ASC' validate => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'types' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'types' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => null plugin => null alias => 'Type' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } CommunitiesNewspaper => object(AppModel) { useDbConfig => 'default' useTable => 'communities_newspapers' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'communities_newspapers' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CommunitiesNewspaper' alias => 'CommunitiesNewspaper' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } NewspapersSites => object(AppModel) { useDbConfig => 'default' useTable => 'newspapers_sites' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'newspapers_sites' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'NewspapersSites' alias => 'NewspapersSites' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } Document => object(Document) { name => 'Document' displayField => 'title' order => 'Document.start_year DESC' recursive => (int) 0 validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'documents' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'documents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Document' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'primary' ), 'name' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'url' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'text' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'startyear' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'endyear' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'type_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } object(Document) { name => 'Document' displayField => 'title' order => 'Document.start_year DESC' recursive => (int) 0 validate => array( 'title' => array( 'notempty' => array( [maximum depth reached] ) ), 'sort_number' => array( 'numeric' => array( [maximum depth reached] ) ) ) belongsTo => array( 'Newspaper' => array( 'className' => 'Newspaper', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasMany => array( 'Stat' => array( 'className' => 'Stat', 'foreignKey' => 'document_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'Annotation' => array( 'className' => 'Annotation', 'foreignKey' => 'document_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) hasAndBelongsToMany => array( 'Author' => array( 'className' => 'Author', 'joinTable' => 'authors_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'author_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'AuthorsDocument', 'dynamicWith' => true ), 'Site' => array( 'className' => 'Site', 'joinTable' => 'documents_sites', 'foreignKey' => 'document_id', 'associationForeignKey' => 'site_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'DocumentsSite', 'dynamicWith' => true ), 'Era' => array( 'className' => 'Era', 'joinTable' => 'eras_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'era_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'ErasDocument', 'dynamicWith' => true ), 'Fond' => array( 'className' => 'Fond', 'joinTable' => 'fonds_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'fond_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'FondsDocument', 'dynamicWith' => true ), 'Type' => array( 'className' => 'Type', 'joinTable' => 'types_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'type_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'TypesDocument', 'dynamicWith' => true ), 'Community' => array( 'className' => 'Community', 'joinTable' => 'communities_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'community_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'CommunitiesDocument', 'dynamicWith' => true ), 'Family' => array( 'className' => 'Family', 'joinTable' => 'families_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'family_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'FamiliesDocument', 'dynamicWith' => true ), 'Cemetery' => array( 'className' => 'Cemetery', 'joinTable' => 'cemeteries_documents', 'foreignKey' => 'document_id', 'associationForeignKey' => 'cemetery_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'CemeteriesDocument', 'dynamicWith' => true ) ) useDbConfig => 'default' useTable => 'documents' id => false data => array() schemaName => 'pembinam_pembina' table => 'documents' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Document' tableToModel => array( 'documents' => 'Document' ) cacheQueries => false hasOne => array() actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Document' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 8, 'unsigned' => true, 'key' => 'primary' ), 'title' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'key' => 'index', 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'filename' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'filename_verified_on_drive' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'filename_batch_verified_on_drive' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ), 'url' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'video' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'text' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'added' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'start_year' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'end_year' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'newspaper_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'index' ), 'all_communities' => array( 'type' => 'boolean', 'null' => true, 'default' => null, 'length' => (int) 1 ), 'driveid' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'author_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'index' ), 'archive' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 1, 'unsigned' => false ), 'sort_number' => array( 'type' => 'smallinteger', 'null' => false, 'default' => null, 'length' => (int) 6, 'unsigned' => false ), 'accession_number' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } 'hasMany' 'Document' array( 'className' => 'Document', 'foreignKey' => 'newspaper_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => 'Document.title ASC', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) array( 'callbacks' => true, 'conditions' => array(), 'fields' => array(), 'joins' => array(), 'order' => array(), 'limit' => array(), 'offset' => array(), 'group' => array(), 'having' => null, 'lock' => null ) true array( (int) 0 => array( 'Newspaper' => array( 'id' => '45', 'name' => 'An Index of Online Newspapers', 'description' => '<p>This index indicates possible sources for online newspapers, both current and historic.</p>', 'url' => 'Manitobas On line Newspapers.jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '45' ), 'NewspapersSites' => array( 'newspaper_id' => '45', 'site_id' => '1' ) ), (int) 1 => array( 'Newspaper' => array( 'id' => '6', 'name' => 'Manitou Advance', 'description' => '<p>The Manitou Advance was published for a short time during 1886. Credit: Manitoba Legislative Library Collection</p>', 'url' => 'advance.jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '6' ), 'NewspapersSites' => array( 'newspaper_id' => '6', 'site_id' => '1' ) ), (int) 2 => array( 'Newspaper' => array( 'id' => '7', 'name' => 'Manitou Independent', 'description' => 'The Manitou Independent was published during the summer of 1885. Credit: Manitoba Legislative Library', 'url' => 'independent (1).jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '7' ), 'NewspapersSites' => array( 'newspaper_id' => '7', 'site_id' => '1' ) ), (int) 3 => array( 'Newspaper' => array( 'id' => '2', 'name' => 'Manitou Mercury', 'description' => 'Manitou's First Newspaper - 1884. Its editor, frustrated with the slow progress on the railline, loaded up his printing press in Pilot mound, where he had published the Signal for three years, and moved the newspaper to Manitou, the terminus of the rail line. Credit: Manitoba Legislative Library Collection', 'url' => 'mercury (1).jpg', 'text' => '', 'startyear' => '1880', 'endyear' => '1917', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '2' ), 'NewspapersSites' => array( 'newspaper_id' => '2', 'site_id' => '1' ) ), (int) 4 => array( 'Newspaper' => array( 'id' => '5', 'name' => 'Manitou Sun', 'description' => 'This newspaper was published in Manitou from 1899 to 1906. Credit: Manitoba Legislative Library Collection', 'url' => 'manitou_sun_1899-05-11-1 (2).jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '5' ), 'NewspapersSites' => array( 'newspaper_id' => '5', 'site_id' => '1' ) ), (int) 5 => array( 'Newspaper' => array( 'id' => '8', 'name' => 'Manitou Western Canadian', 'description' => 'Manitou's Western Canadian has been publishing for over 110 years, providing strong support for local affairs and public interest stories. Credit: Manitoba Legislative Library', 'url' => 'westerncanadian1.jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '8' ), 'NewspapersSites' => array( 'newspaper_id' => '8', 'site_id' => '1' ) ), (int) 6 => array( 'Newspaper' => array( 'id' => '134', 'name' => 'Pilot Mound Hometown View', 'description' => '<p>A regional newspaper, based in Pilot Mound, Manitoba.</p> <p> </p>', 'url' => 'Hometown View.jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '134' ), 'NewspapersSites' => array( 'newspaper_id' => '134', 'site_id' => '1' ) ), (int) 7 => array( 'Newspaper' => array( 'id' => '135', 'name' => 'Pilot Mound Hometown view', 'description' => '<p>A regional newspaper, based in Pilot Mound, Manitoba.</p> <p> </p>', 'url' => 'Hometown View (1).jpg', 'text' => '', 'startyear' => '0', 'endyear' => '0', 'type_id' => '11' ), 'Type' => array( 'id' => '11', 'singular_name' => 'Newspaper', 'plural_name' => 'Newspapers', 'url' => '100_6575 (2).JPG' ), 'CommunitiesNewspaper' => array( 'community_id' => '2', 'newspaper_id' => '135' ), 'NewspapersSites' => array( 'newspaper_id' => '135', 'site_id' => '1' ) ) ) (int) 0 array( (int) 0 => 'Document' )
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Newspaper) { name => 'Newspaper' displayField => 'name' order => 'Newspaper.name ASC' recursive => (int) 1 validate => array( 'name' => array( 'notempty' => array( [maximum depth reached] ) ) ) belongsTo => array( 'Type' => array( 'className' => 'Type', 'foreignKey' => 'type_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasMany => array( 'Document' => array( 'className' => 'Document', 'foreignKey' => 'newspaper_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => 'Document.title ASC', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) hasAndBelongsToMany => array( 'Site' => array( 'className' => 'Site', 'joinTable' => 'newspapers_sites', 'foreignKey' => 'newspaper_id', 'associationForeignKey' => 'site_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'NewspapersSite', 'dynamicWith' => true ), 'Community' => array( 'className' => 'Community', 'joinTable' => 'communities_newspapers', 'foreignKey' => 'newspaper_id', 'associationForeignKey' => 'community_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '', 'with' => 'CommunitiesNewspaper', 'dynamicWith' => true ) ) useDbConfig => 'default' useTable => 'newspapers' id => false data => array() schemaName => 'pembinam_pembina' table => 'newspapers' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Newspaper' tableToModel => array( 'newspapers' => 'Newspaper', 'types' => 'Type', 'communities_newspapers' => 'CommunitiesNewspaper', 'newspapers_sites' => 'NewspapersSites', 'documents' => 'Document' ) cacheQueries => false hasOne => array( 'CommunitiesNewspaper' => array( 'className' => 'CommunitiesNewspaper', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ), 'NewspapersSites' => array( 'className' => 'NewspapersSites', 'foreignKey' => 'newspaper_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ) ) actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'Newspaper' defaultPriority => (int) 10 [protected] _methods => array([maximum depth reached]) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array([maximum depth reached]) [protected] _loaded => array([maximum depth reached]) } whitelist => array() cacheSources => true findQueryType => 'all' virtualFields => array() __backAssociation => array( 'hasOne' => array() ) __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) Type => object(Type) { name => 'Type' displayField => 'singular_name' recursive => (int) -1 order => 'Type.singular_name ASC' validate => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'types' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'types' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => null plugin => null alias => 'Type' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } CommunitiesNewspaper => object(AppModel) { useDbConfig => 'default' useTable => 'communities_newspapers' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'communities_newspapers' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CommunitiesNewspaper' alias => 'CommunitiesNewspaper' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } NewspapersSites => object(AppModel) { useDbConfig => 'default' useTable => 'newspapers_sites' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'newspapers_sites' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'NewspapersSites' alias => 'NewspapersSites' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } Document => object(Document) { name => 'Document' displayField => 'title' order => 'Document.start_year DESC' recursive => (int) 0 validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'documents' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'documents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Document' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'primary' ), 'name' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'url' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'text' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'latin1_swedish_ci', 'charset' => 'latin1' ), 'startyear' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'endyear' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 4, 'unsigned' => false ), 'type_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'CommunitiesNewspaper.community_id' => '2', 'AND' => array( 'NewspapersSites.site_id' => (int) 1 ) ), 'fields' => array( (int) 0 => '`Newspaper`.`id`', (int) 1 => '`Newspaper`.`name`', (int) 2 => '`Newspaper`.`description`', (int) 3 => '`Newspaper`.`url`', (int) 4 => '`Newspaper`.`text`', (int) 5 => '`Newspaper`.`startyear`', (int) 6 => '`Newspaper`.`endyear`', (int) 7 => '`Newspaper`.`type_id`', (int) 8 => '`Type`.`id`', (int) 9 => '`Type`.`singular_name`', (int) 10 => '`Type`.`plural_name`', (int) 11 => '`Type`.`url`', (int) 12 => '`CommunitiesNewspaper`.`community_id`', (int) 13 => '`CommunitiesNewspaper`.`newspaper_id`', (int) 14 => '`NewspapersSites`.`newspaper_id`', (int) 15 => '`NewspapersSites`.`site_id`' ), 'joins' => array( (int) 0 => array( 'table' => object(Type) {}, 'alias' => 'Type', 'type' => 'LEFT', 'conditions' => '`Newspaper`.`type_id` = `Type`.`id`' ), (int) 1 => array( 'table' => object(AppModel) {}, 'alias' => 'CommunitiesNewspaper', 'type' => 'LEFT', 'conditions' => '`CommunitiesNewspaper`.`newspaper_id` = `Newspaper`.`id`' ), (int) 2 => array( 'table' => object(AppModel) {}, 'alias' => 'NewspapersSites', 'type' => 'LEFT', 'conditions' => '`NewspapersSites`.`newspaper_id` = `Newspaper`.`id`' ) ), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'Newspaper.name ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'having' => null, 'lock' => null )
return null;
}
return $this->_readDataSource($type, $query);
}
'all' array( 'conditions' => array( 'CommunitiesNewspaper.community_id' => '2', 'AND' => array( 'NewspapersSites.site_id' => (int) 1 ) ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'Newspaper.name ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
$conditions = array();
$conditions['CommunitiesNewspaper.community_id'] = $id;
$newspapers = $this->Newspaper->find('all', array("conditions" => $conditions));
'all' array( 'conditions' => array( 'CommunitiesNewspaper.community_id' => '2', 'AND' => array( 'NewspapersSites.site_id' => (int) 1 ) ), 'fields' => null, 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => 'Newspaper.name ASC' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
'2' '11' '92'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(CommunitiesController) { name => 'Communities' uses => array( (int) 0 => 'Community', (int) 1 => 'Site', (int) 2 => 'Newspaper' ) helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'communities/view/2/11/92' base => '' webroot => '/' here => '/communities/view/2/11/92' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Communities' layoutPath => null viewVars => array( 'community' => array( 'Community' => array( [maximum depth reached] ) ), 'background_image' => array( 'Design' => array( [maximum depth reached] ) ), 'yearrange' => array( (int) 0 => 'unknown', (int) 1800 => (int) 1800, (int) 1801 => (int) 1801, (int) 1802 => (int) 1802, (int) 1803 => (int) 1803, (int) 1804 => (int) 1804, (int) 1805 => (int) 1805, (int) 1806 => (int) 1806, (int) 1807 => (int) 1807, (int) 1808 => (int) 1808, (int) 1809 => (int) 1809, (int) 1810 => (int) 1810, (int) 1811 => (int) 1811, (int) 1812 => (int) 1812, (int) 1813 => (int) 1813, (int) 1814 => (int) 1814, (int) 1815 => (int) 1815, (int) 1816 => (int) 1816, (int) 1817 => (int) 1817, (int) 1818 => (int) 1818, (int) 1819 => (int) 1819, (int) 1820 => (int) 1820, (int) 1821 => (int) 1821, (int) 1822 => (int) 1822, (int) 1823 => (int) 1823, (int) 1824 => (int) 1824, (int) 1825 => (int) 1825, (int) 1826 => (int) 1826, (int) 1827 => (int) 1827, (int) 1828 => (int) 1828, (int) 1829 => (int) 1829, (int) 1830 => (int) 1830, (int) 1831 => (int) 1831, (int) 1832 => (int) 1832, (int) 1833 => (int) 1833, (int) 1834 => (int) 1834, (int) 1835 => (int) 1835, (int) 1836 => (int) 1836, (int) 1837 => (int) 1837, (int) 1838 => (int) 1838, (int) 1839 => (int) 1839, (int) 1840 => (int) 1840, (int) 1841 => (int) 1841, (int) 1842 => (int) 1842, (int) 1843 => (int) 1843, (int) 1844 => (int) 1844, (int) 1845 => (int) 1845, (int) 1846 => (int) 1846, (int) 1847 => (int) 1847, (int) 1848 => (int) 1848, (int) 1849 => (int) 1849, (int) 1850 => (int) 1850, (int) 1851 => (int) 1851, (int) 1852 => (int) 1852, (int) 1853 => (int) 1853, (int) 1854 => (int) 1854, (int) 1855 => (int) 1855, (int) 1856 => (int) 1856, (int) 1857 => (int) 1857, (int) 1858 => (int) 1858, (int) 1859 => (int) 1859, (int) 1860 => (int) 1860, (int) 1861 => (int) 1861, (int) 1862 => (int) 1862, (int) 1863 => (int) 1863, (int) 1864 => (int) 1864, (int) 1865 => (int) 1865, (int) 1866 => (int) 1866, (int) 1867 => (int) 1867, (int) 1868 => (int) 1868, (int) 1869 => (int) 1869, (int) 1870 => (int) 1870, (int) 1871 => (int) 1871, (int) 1872 => (int) 1872, (int) 1873 => (int) 1873, (int) 1874 => (int) 1874, (int) 1875 => (int) 1875, (int) 1876 => (int) 1876, (int) 1877 => (int) 1877, (int) 1878 => (int) 1878, (int) 1879 => (int) 1879, (int) 1880 => (int) 1880, (int) 1881 => (int) 1881, (int) 1882 => (int) 1882, (int) 1883 => (int) 1883, (int) 1884 => (int) 1884, (int) 1885 => (int) 1885, (int) 1886 => (int) 1886, (int) 1887 => (int) 1887, (int) 1888 => (int) 1888, (int) 1889 => (int) 1889, (int) 1890 => (int) 1890, (int) 1891 => (int) 1891, (int) 1892 => (int) 1892, (int) 1893 => (int) 1893, (int) 1894 => (int) 1894, (int) 1895 => (int) 1895, (int) 1896 => (int) 1896, (int) 1897 => (int) 1897, (int) 1898 => (int) 1898, (int) 1899 => (int) 1899, (int) 1900 => (int) 1900, (int) 1901 => (int) 1901, (int) 1902 => (int) 1902, (int) 1903 => (int) 1903, (int) 1904 => (int) 1904, (int) 1905 => (int) 1905, (int) 1906 => (int) 1906, (int) 1907 => (int) 1907, (int) 1908 => (int) 1908, (int) 1909 => (int) 1909, (int) 1910 => (int) 1910, (int) 1911 => (int) 1911, (int) 1912 => (int) 1912, (int) 1913 => (int) 1913, (int) 1914 => (int) 1914, (int) 1915 => (int) 1915, (int) 1916 => (int) 1916, (int) 1917 => (int) 1917, (int) 1918 => (int) 1918, (int) 1919 => (int) 1919, (int) 1920 => (int) 1920, (int) 1921 => (int) 1921, (int) 1922 => (int) 1922, (int) 1923 => (int) 1923, (int) 1924 => (int) 1924, (int) 1925 => (int) 1925, (int) 1926 => (int) 1926, (int) 1927 => (int) 1927, (int) 1928 => (int) 1928, (int) 1929 => (int) 1929, (int) 1930 => (int) 1930, (int) 1931 => (int) 1931, (int) 1932 => (int) 1932, (int) 1933 => (int) 1933, (int) 1934 => (int) 1934, (int) 1935 => (int) 1935, (int) 1936 => (int) 1936, (int) 1937 => (int) 1937, (int) 1938 => (int) 1938, (int) 1939 => (int) 1939, (int) 1940 => (int) 1940, (int) 1941 => (int) 1941, (int) 1942 => (int) 1942, (int) 1943 => (int) 1943, (int) 1944 => (int) 1944, (int) 1945 => (int) 1945, (int) 1946 => (int) 1946, (int) 1947 => (int) 1947, (int) 1948 => (int) 1948, (int) 1949 => (int) 1949, (int) 1950 => (int) 1950, (int) 1951 => (int) 1951, (int) 1952 => (int) 1952, (int) 1953 => (int) 1953, (int) 1954 => (int) 1954, (int) 1955 => (int) 1955, (int) 1956 => (int) 1956, (int) 1957 => (int) 1957, (int) 1958 => (int) 1958, (int) 1959 => (int) 1959, (int) 1960 => (int) 1960, (int) 1961 => (int) 1961, (int) 1962 => (int) 1962, (int) 1963 => (int) 1963, (int) 1964 => (int) 1964, (int) 1965 => (int) 1965, (int) 1966 => (int) 1966, (int) 1967 => (int) 1967, (int) 1968 => (int) 1968, (int) 1969 => (int) 1969, (int) 1970 => (int) 1970, (int) 1971 => (int) 1971, (int) 1972 => (int) 1972, (int) 1973 => (int) 1973, (int) 1974 => (int) 1974, (int) 1975 => (int) 1975, (int) 1976 => (int) 1976, (int) 1977 => (int) 1977, (int) 1978 => (int) 1978, (int) 1979 => (int) 1979, (int) 1980 => (int) 1980, (int) 1981 => (int) 1981, (int) 1982 => (int) 1982, (int) 1983 => (int) 1983, (int) 1984 => (int) 1984, (int) 1985 => (int) 1985, (int) 1986 => (int) 1986, (int) 1987 => (int) 1987, (int) 1988 => (int) 1988, (int) 1989 => (int) 1989, (int) 1990 => (int) 1990, (int) 1991 => (int) 1991, (int) 1992 => (int) 1992, (int) 1993 => (int) 1993, (int) 1994 => (int) 1994, (int) 1995 => (int) 1995, (int) 1996 => (int) 1996, (int) 1997 => (int) 1997, (int) 1998 => (int) 1998, (int) 1999 => (int) 1999, (int) 2000 => (int) 2000, (int) 2001 => (int) 2001, (int) 2002 => (int) 2002, (int) 2003 => (int) 2003, (int) 2004 => (int) 2004, (int) 2005 => (int) 2005, (int) 2006 => (int) 2006, (int) 2007 => (int) 2007, (int) 2008 => (int) 2008, (int) 2009 => (int) 2009, (int) 2010 => (int) 2010, (int) 2011 => (int) 2011, (int) 2012 => (int) 2012, (int) 2013 => (int) 2013, (int) 2014 => (int) 2014, (int) 2015 => (int) 2015, (int) 2016 => (int) 2016, (int) 2017 => (int) 2017, (int) 2018 => (int) 2018, (int) 2019 => (int) 2019, (int) 2020 => (int) 2020, (int) 2021 => (int) 2021, (int) 2022 => (int) 2022, (int) 2023 => (int) 2023, (int) 2024 => (int) 2024, (int) 2025 => (int) 2025, (int) 2026 => (int) 2026, (int) 2027 => (int) 2027, (int) 2028 => (int) 2028, (int) 2029 => (int) 2029, (int) 2030 => (int) 2030, (int) 2031 => (int) 2031, (int) 2032 => (int) 2032, (int) 2033 => (int) 2033, (int) 2034 => (int) 2034, (int) 2035 => (int) 2035, (int) 2036 => (int) 2036, (int) 2037 => (int) 2037, (int) 2038 => (int) 2038, (int) 2039 => (int) 2039, (int) 2040 => (int) 2040 ), 'sites' => array( (int) 1 => 'Pembina Manitou', (int) 2 => 'Spruce Grove' ), 'base' => '', 'url' => 'communities/view/2/11/92', 'user' => null ) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(CommunitiesController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } components => array( (int) 0 => 'Session', (int) 1 => 'Flash' ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '2', (int) 1 => '11', (int) 2 => '92' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'then_and_now_posts', (int) 2 => 'then_and_now_communities', (int) 3 => 'view', (int) 4 => 'admin_edit_now_image', (int) 5 => 'admin_save_now_image', (int) 6 => 'admin_upload_now_file', (int) 7 => 'admin_edit_then_image', (int) 8 => 'admin_save_then_image', (int) 9 => 'admin_upload_then_file', (int) 10 => 'admin_index', (int) 11 => 'admin_add', (int) 12 => 'admin_edit', (int) 13 => 'admin_delete', (int) 15 => 'upload_file', (int) 16 => 'get_file_mime_type' ) modelClass => 'Community' modelKey => 'community' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Site => object(Site) { name => 'Site' displayField => 'name' recursive => (int) -1 validate => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'sites' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'sites' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Site' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Community => object(Community) { name => 'Community' displayField => 'name' order => 'Community.name ASC' validate => array( [maximum depth reached] ) recursive => (int) 0 hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'communities' id => '2' data => array( [maximum depth reached] ) schemaName => 'pembinam_pembina' table => 'communities' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Community' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Document => object(Document) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Newspaper => object(Newspaper) { name => 'Newspaper' displayField => 'name' order => 'Newspaper.name ASC' recursive => (int) 1 validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'newspapers' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'newspapers' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Newspaper' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array( [maximum depth reached] ) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' virtualFields => array([maximum depth reached]) __backAssociation => array( [maximum depth reached] ) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Type => object(Type) {} CommunitiesNewspaper => object(AppModel) {} NewspapersSites => object(AppModel) {} Document => object(Document) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } array( (int) 0 => '2', (int) 1 => '11', (int) 2 => '92' )
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'communities', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '2', (int) 1 => '11', (int) 2 => '92' ), 'models' => array( 'Site' => array( [maximum depth reached] ), 'Community' => array( [maximum depth reached] ), 'Document' => array( [maximum depth reached] ), 'Newspaper' => array( [maximum depth reached] ), 'Type' => array( [maximum depth reached] ), 'CommunitiesNewspaper' => array( [maximum depth reached] ), 'NewspapersSites' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'communities/view/2/11/92' base => '' webroot => '/' here => '/communities/view/2/11/92' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(CommunitiesController) { name => 'Communities' uses => array( (int) 0 => 'Community', (int) 1 => 'Site', (int) 2 => 'Newspaper' ) helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'communities/view/2/11/92' base => '' webroot => '/' here => '/communities/view/2/11/92' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Communities' layoutPath => null viewVars => array( 'community' => array( 'Community' => array( [maximum depth reached] ) ), 'background_image' => array( 'Design' => array( [maximum depth reached] ) ), 'yearrange' => array( (int) 0 => 'unknown', (int) 1800 => (int) 1800, (int) 1801 => (int) 1801, (int) 1802 => (int) 1802, (int) 1803 => (int) 1803, (int) 1804 => (int) 1804, (int) 1805 => (int) 1805, (int) 1806 => (int) 1806, (int) 1807 => (int) 1807, (int) 1808 => (int) 1808, (int) 1809 => (int) 1809, (int) 1810 => (int) 1810, (int) 1811 => (int) 1811, (int) 1812 => (int) 1812, (int) 1813 => (int) 1813, (int) 1814 => (int) 1814, (int) 1815 => (int) 1815, (int) 1816 => (int) 1816, (int) 1817 => (int) 1817, (int) 1818 => (int) 1818, (int) 1819 => (int) 1819, (int) 1820 => (int) 1820, (int) 1821 => (int) 1821, (int) 1822 => (int) 1822, (int) 1823 => (int) 1823, (int) 1824 => (int) 1824, (int) 1825 => (int) 1825, (int) 1826 => (int) 1826, (int) 1827 => (int) 1827, (int) 1828 => (int) 1828, (int) 1829 => (int) 1829, (int) 1830 => (int) 1830, (int) 1831 => (int) 1831, (int) 1832 => (int) 1832, (int) 1833 => (int) 1833, (int) 1834 => (int) 1834, (int) 1835 => (int) 1835, (int) 1836 => (int) 1836, (int) 1837 => (int) 1837, (int) 1838 => (int) 1838, (int) 1839 => (int) 1839, (int) 1840 => (int) 1840, (int) 1841 => (int) 1841, (int) 1842 => (int) 1842, (int) 1843 => (int) 1843, (int) 1844 => (int) 1844, (int) 1845 => (int) 1845, (int) 1846 => (int) 1846, (int) 1847 => (int) 1847, (int) 1848 => (int) 1848, (int) 1849 => (int) 1849, (int) 1850 => (int) 1850, (int) 1851 => (int) 1851, (int) 1852 => (int) 1852, (int) 1853 => (int) 1853, (int) 1854 => (int) 1854, (int) 1855 => (int) 1855, (int) 1856 => (int) 1856, (int) 1857 => (int) 1857, (int) 1858 => (int) 1858, (int) 1859 => (int) 1859, (int) 1860 => (int) 1860, (int) 1861 => (int) 1861, (int) 1862 => (int) 1862, (int) 1863 => (int) 1863, (int) 1864 => (int) 1864, (int) 1865 => (int) 1865, (int) 1866 => (int) 1866, (int) 1867 => (int) 1867, (int) 1868 => (int) 1868, (int) 1869 => (int) 1869, (int) 1870 => (int) 1870, (int) 1871 => (int) 1871, (int) 1872 => (int) 1872, (int) 1873 => (int) 1873, (int) 1874 => (int) 1874, (int) 1875 => (int) 1875, (int) 1876 => (int) 1876, (int) 1877 => (int) 1877, (int) 1878 => (int) 1878, (int) 1879 => (int) 1879, (int) 1880 => (int) 1880, (int) 1881 => (int) 1881, (int) 1882 => (int) 1882, (int) 1883 => (int) 1883, (int) 1884 => (int) 1884, (int) 1885 => (int) 1885, (int) 1886 => (int) 1886, (int) 1887 => (int) 1887, (int) 1888 => (int) 1888, (int) 1889 => (int) 1889, (int) 1890 => (int) 1890, (int) 1891 => (int) 1891, (int) 1892 => (int) 1892, (int) 1893 => (int) 1893, (int) 1894 => (int) 1894, (int) 1895 => (int) 1895, (int) 1896 => (int) 1896, (int) 1897 => (int) 1897, (int) 1898 => (int) 1898, (int) 1899 => (int) 1899, (int) 1900 => (int) 1900, (int) 1901 => (int) 1901, (int) 1902 => (int) 1902, (int) 1903 => (int) 1903, (int) 1904 => (int) 1904, (int) 1905 => (int) 1905, (int) 1906 => (int) 1906, (int) 1907 => (int) 1907, (int) 1908 => (int) 1908, (int) 1909 => (int) 1909, (int) 1910 => (int) 1910, (int) 1911 => (int) 1911, (int) 1912 => (int) 1912, (int) 1913 => (int) 1913, (int) 1914 => (int) 1914, (int) 1915 => (int) 1915, (int) 1916 => (int) 1916, (int) 1917 => (int) 1917, (int) 1918 => (int) 1918, (int) 1919 => (int) 1919, (int) 1920 => (int) 1920, (int) 1921 => (int) 1921, (int) 1922 => (int) 1922, (int) 1923 => (int) 1923, (int) 1924 => (int) 1924, (int) 1925 => (int) 1925, (int) 1926 => (int) 1926, (int) 1927 => (int) 1927, (int) 1928 => (int) 1928, (int) 1929 => (int) 1929, (int) 1930 => (int) 1930, (int) 1931 => (int) 1931, (int) 1932 => (int) 1932, (int) 1933 => (int) 1933, (int) 1934 => (int) 1934, (int) 1935 => (int) 1935, (int) 1936 => (int) 1936, (int) 1937 => (int) 1937, (int) 1938 => (int) 1938, (int) 1939 => (int) 1939, (int) 1940 => (int) 1940, (int) 1941 => (int) 1941, (int) 1942 => (int) 1942, (int) 1943 => (int) 1943, (int) 1944 => (int) 1944, (int) 1945 => (int) 1945, (int) 1946 => (int) 1946, (int) 1947 => (int) 1947, (int) 1948 => (int) 1948, (int) 1949 => (int) 1949, (int) 1950 => (int) 1950, (int) 1951 => (int) 1951, (int) 1952 => (int) 1952, (int) 1953 => (int) 1953, (int) 1954 => (int) 1954, (int) 1955 => (int) 1955, (int) 1956 => (int) 1956, (int) 1957 => (int) 1957, (int) 1958 => (int) 1958, (int) 1959 => (int) 1959, (int) 1960 => (int) 1960, (int) 1961 => (int) 1961, (int) 1962 => (int) 1962, (int) 1963 => (int) 1963, (int) 1964 => (int) 1964, (int) 1965 => (int) 1965, (int) 1966 => (int) 1966, (int) 1967 => (int) 1967, (int) 1968 => (int) 1968, (int) 1969 => (int) 1969, (int) 1970 => (int) 1970, (int) 1971 => (int) 1971, (int) 1972 => (int) 1972, (int) 1973 => (int) 1973, (int) 1974 => (int) 1974, (int) 1975 => (int) 1975, (int) 1976 => (int) 1976, (int) 1977 => (int) 1977, (int) 1978 => (int) 1978, (int) 1979 => (int) 1979, (int) 1980 => (int) 1980, (int) 1981 => (int) 1981, (int) 1982 => (int) 1982, (int) 1983 => (int) 1983, (int) 1984 => (int) 1984, (int) 1985 => (int) 1985, (int) 1986 => (int) 1986, (int) 1987 => (int) 1987, (int) 1988 => (int) 1988, (int) 1989 => (int) 1989, (int) 1990 => (int) 1990, (int) 1991 => (int) 1991, (int) 1992 => (int) 1992, (int) 1993 => (int) 1993, (int) 1994 => (int) 1994, (int) 1995 => (int) 1995, (int) 1996 => (int) 1996, (int) 1997 => (int) 1997, (int) 1998 => (int) 1998, (int) 1999 => (int) 1999, (int) 2000 => (int) 2000, (int) 2001 => (int) 2001, (int) 2002 => (int) 2002, (int) 2003 => (int) 2003, (int) 2004 => (int) 2004, (int) 2005 => (int) 2005, (int) 2006 => (int) 2006, (int) 2007 => (int) 2007, (int) 2008 => (int) 2008, (int) 2009 => (int) 2009, (int) 2010 => (int) 2010, (int) 2011 => (int) 2011, (int) 2012 => (int) 2012, (int) 2013 => (int) 2013, (int) 2014 => (int) 2014, (int) 2015 => (int) 2015, (int) 2016 => (int) 2016, (int) 2017 => (int) 2017, (int) 2018 => (int) 2018, (int) 2019 => (int) 2019, (int) 2020 => (int) 2020, (int) 2021 => (int) 2021, (int) 2022 => (int) 2022, (int) 2023 => (int) 2023, (int) 2024 => (int) 2024, (int) 2025 => (int) 2025, (int) 2026 => (int) 2026, (int) 2027 => (int) 2027, (int) 2028 => (int) 2028, (int) 2029 => (int) 2029, (int) 2030 => (int) 2030, (int) 2031 => (int) 2031, (int) 2032 => (int) 2032, (int) 2033 => (int) 2033, (int) 2034 => (int) 2034, (int) 2035 => (int) 2035, (int) 2036 => (int) 2036, (int) 2037 => (int) 2037, (int) 2038 => (int) 2038, (int) 2039 => (int) 2039, (int) 2040 => (int) 2040 ), 'sites' => array( (int) 1 => 'Pembina Manitou', (int) 2 => 'Spruce Grove' ), 'base' => '', 'url' => 'communities/view/2/11/92', 'user' => null ) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(CommunitiesController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } components => array( (int) 0 => 'Session', (int) 1 => 'Flash' ) viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '2', (int) 1 => '11', (int) 2 => '92' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'then_and_now_posts', (int) 2 => 'then_and_now_communities', (int) 3 => 'view', (int) 4 => 'admin_edit_now_image', (int) 5 => 'admin_save_now_image', (int) 6 => 'admin_upload_now_file', (int) 7 => 'admin_edit_then_image', (int) 8 => 'admin_save_then_image', (int) 9 => 'admin_upload_then_file', (int) 10 => 'admin_index', (int) 11 => 'admin_add', (int) 12 => 'admin_edit', (int) 13 => 'admin_delete', (int) 15 => 'upload_file', (int) 16 => 'get_file_mime_type' ) modelClass => 'Community' modelKey => 'community' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Flash => object(FlashComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _defaultConfig => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Site => object(Site) { name => 'Site' displayField => 'name' recursive => (int) -1 validate => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'sites' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'sites' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Site' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Community => object(Community) { name => 'Community' displayField => 'name' order => 'Community.name ASC' validate => array( [maximum depth reached] ) recursive => (int) 0 hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'communities' id => '2' data => array( [maximum depth reached] ) schemaName => 'pembinam_pembina' table => 'communities' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Community' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Document => object(Document) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Newspaper => object(Newspaper) { name => 'Newspaper' displayField => 'name' order => 'Newspaper.name ASC' recursive => (int) 1 validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'newspapers' id => false data => array([maximum depth reached]) schemaName => 'pembinam_pembina' table => 'newspapers' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Newspaper' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array( [maximum depth reached] ) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' virtualFields => array([maximum depth reached]) __backAssociation => array( [maximum depth reached] ) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Type => object(Type) {} CommunitiesNewspaper => object(AppModel) {} NewspapersSites => object(AppModel) {} Document => object(Document) {} [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'communities', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '2', (int) 1 => '11', (int) 2 => '92' ), 'models' => array( 'Site' => array( [maximum depth reached] ), 'Community' => array( [maximum depth reached] ), 'Document' => array( [maximum depth reached] ), 'Newspaper' => array( [maximum depth reached] ), 'Type' => array( [maximum depth reached] ), 'CommunitiesNewspaper' => array( [maximum depth reached] ), 'NewspapersSites' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'communities/view/2/11/92' base => '' webroot => '/' here => '/communities/view/2/11/92' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'communities', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '2', (int) 1 => '11', (int) 2 => '92' ), 'models' => array( 'Site' => array( [maximum depth reached] ), 'Community' => array( [maximum depth reached] ), 'Document' => array( [maximum depth reached] ), 'Newspaper' => array( [maximum depth reached] ), 'Type' => array( [maximum depth reached] ), 'CommunitiesNewspaper' => array( [maximum depth reached] ), 'NewspapersSites' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'communities/view/2/11/92' base => '' webroot => '/' here => '/communities/view/2/11/92' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 429 => 'Too Many Requests', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'jsonapi' => 'application/vnd.api+json', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass', 'ajax' => 'text/html' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }