Code Context $count = $object->find('count', array_merge($parameters, $extra));
}
$pageCount = intval(ceil($count / $limit));
$object = object(Item) {
actsAs => array(
'Containable' => null,
'Search.Searchable' => null
)
filterArgs => array(
'name' => array(
[maximum depth reached]
),
'category' => array(
[maximum depth reached]
),
'building' => array(
[maximum depth reached]
),
'loc1' => array(
[maximum depth reached]
),
'loc2' => array(
[maximum depth reached]
),
'loc3' => array(
[maximum depth reached]
),
'loc4' => array(
[maximum depth reached]
),
'loc5' => array(
[maximum depth reached]
),
'donor' => array(
[maximum depth reached]
)
)
validate => array(
'name' => array(
[maximum depth reached]
),
'location_id' => array(
[maximum depth reached]
),
'category_id' => array(
[maximum depth reached]
),
'status_id' => array(
[maximum depth reached]
)
)
belongsTo => array(
'Category' => array(
[maximum depth reached]
),
'User' => array(
[maximum depth reached]
),
'Donor' => array(
[maximum depth reached]
),
'Location' => array(
[maximum depth reached]
),
'Condition' => array(
[maximum depth reached]
),
'Status' => array(
[maximum depth reached]
)
)
hasMany => array(
'Log' => array(
[maximum depth reached]
)
)
useDbConfig => 'default'
useTable => 'items'
id => false
data => array()
schemaName => 'masoncountyresearch'
table => 'items'
primaryKey => 'id'
validationErrors => array()
validationDomain => null
tablePrefix => ''
plugin => null
name => 'Item'
alias => 'Item'
tableToModel => array(
'items' => 'Item',
'categories' => 'Category',
'users' => 'User',
'donors' => 'Donor',
'locations' => 'Location',
'conditions' => 'Condition',
'statuses' => 'Status',
'logs' => 'Log'
)
cacheQueries => false
hasOne => array()
hasAndBelongsToMany => array()
Behaviors => object(BehaviorCollection) {}
whitelist => array()
cacheSources => true
findQueryType => null
recursive => (int) 1
order => null
virtualFields => array()
__backAssociation => array()
__backInnerAssociation => array()
__backOriginalAssociation => array()
__backContainableAssociation => array()
findMethods => array(
'all' => true,
'first' => true,
'count' => true,
'neighbors' => true,
'list' => true,
'threaded' => true
)
Category => object(Category) {}
User => object(User) {}
Donor => object(Donor) {}
Location => object(Location) {}
Condition => object(Condition) {}
Status => object(Status) {}
Log => object(Log) {}
[protected] _schema => array(
'id' => array(
[maximum depth reached]
),
'category_id' => array(
[maximum depth reached]
),
'user_id' => array(
[maximum depth reached]
),
'donor_id' => array(
[maximum depth reached]
),
'location_id' => array(
[maximum depth reached]
),
'accession' => array(
[maximum depth reached]
),
'name' => array(
[maximum depth reached]
),
'description' => array(
[maximum depth reached]
),
'history' => array(
[maximum depth reached]
),
'condition_id' => array(
[maximum depth reached]
),
'height' => array(
[maximum depth reached]
),
'width' => array(
[maximum depth reached]
),
'depth' => array(
[maximum depth reached]
),
'place' => array(
[maximum depth reached]
),
'year' => array(
[maximum depth reached]
),
'manufacturer' => array(
[maximum depth reached]
),
'photo' => array(
[maximum depth reached]
),
'catalog' => array(
[maximum depth reached]
),
'accession_old' => array(
[maximum depth reached]
),
'status_id' => array(
[maximum depth reached]
),
'loc_detail' => array(
[maximum depth reached]
),
'last_mod' => array(
[maximum depth reached]
),
'created' => array(
[maximum depth reached]
),
'modified' => array(
[maximum depth reached]
)
)
[protected] _associationKeys => array(
'belongsTo' => array(
[maximum depth reached]
),
'hasOne' => array(
[maximum depth reached]
),
'hasMany' => array(
[maximum depth reached]
),
'hasAndBelongsToMany' => array(
[maximum depth reached]
)
)
[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] _validator => null
}
$scope = array()
$whitelist = array()
$options = array(
'page' => (int) 1,
'limit' => (int) 0,
'maxLimit' => (int) 0,
'paramType' => 'named',
'recursive' => (int) -1,
'conditions' => array(
'location_id' => '1131'
),
'fields' => array(
(int) 0 => 'Item.id',
(int) 1 => 'Item.name',
(int) 2 => 'Item.accession',
(int) 3 => 'Item.category_id',
(int) 4 => 'Item.photo',
(int) 5 => 'Item.loc_detail'
),
'order' => array(
'Item.name' => 'asc'
)
)
$conditions = array(
'location_id' => '1131'
)
$fields = array(
(int) 0 => 'Item.id',
(int) 1 => 'Item.name',
(int) 2 => 'Item.accession',
(int) 3 => 'Item.category_id',
(int) 4 => 'Item.photo',
(int) 5 => 'Item.loc_detail'
)
$order = array(
'Item.name' => 'asc'
)
$limit = (int) 0
$page = (int) 1
$recursive = (int) -1
$type = 'all'
$maxLimit = (int) 0
$paramType = 'named'
$extra = array(
'maxLimit' => (int) 0,
'paramType' => 'named'
)
$parameters = array(
'conditions' => array(
'location_id' => '1131'
),
'fields' => array(
(int) 0 => 'Item.id',
(int) 1 => 'Item.name',
(int) 2 => 'Item.accession',
(int) 3 => 'Item.category_id',
(int) 4 => 'Item.photo',
(int) 5 => 'Item.loc_detail'
),
'order' => array(
'Item.name' => 'asc'
),
'limit' => (int) 0,
'page' => (int) 1,
'recursive' => (int) -1
)
$results = array()
$defaults = array(
'page' => (int) 1,
'limit' => (int) 0,
'maxLimit' => (int) 0,
'paramType' => 'named',
'recursive' => (int) -1,
'conditions' => array(
'location_id' => '1131'
),
'fields' => array(
(int) 0 => 'Item.id',
(int) 1 => 'Item.name',
(int) 2 => 'Item.accession',
(int) 3 => 'Item.category_id',
(int) 4 => 'Item.photo',
(int) 5 => 'Item.loc_detail'
),
'order' => array(
'Item.name' => 'asc'
)
)
$count = (int) 0
PaginatorComponent::paginate() - CORE/Cake/Controller/Component/PaginatorComponent.php, line 214
LocationsController::vall() - APP/Controller/LocationsController.php, line 141
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 108