Code Context
<a href="<?= $this->Url->build(['plugin' => false, 'controller' => 'specifications', 'action' => 'compare', $product->category->specification->id]) ?>" data-toggle="tooltip" data-placement="left" title="<?= __('Add to Compare') ?>"><i class="lnr lnr-sync"></i></a>
</div>
$templateFile = '/home/upzonemn/public_html/templates/Categories/home.php'
$dataForView = [
'products' => object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS Products__id, Products.description AS Products__description, Products.status_id AS Products__status_id, Products.category_id AS Products__category_id, Products.color_id AS Products__color_id, Products.price AS Products__price, Products.sale AS Products__sale, Products.star AS Products__star, Products.created AS Products__created, Products.modified AS Products__modified, Statuses.id AS Statuses__id, Statuses.title AS Statuses__title, Categories.id AS Categories__id, Categories.title AS Categories__title, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, Categories.level AS Categories__level, Categories.created AS Categories__created, Categories.modified AS Categories__modified, Categories.image AS Categories__image, Specifications.id AS Specifications__id, Specifications.title AS Specifications__title, Specifications.category_id AS Specifications__category_id, Specifications.cpu AS Specifications__cpu, Specifications.cpu_spec AS Specifications__cpu_spec, Specifications.gpu AS Specifications__gpu, Specifications.storage AS Specifications__storage, Specifications.removable AS Specifications__removable, Specifications.ram AS Specifications__ram, Specifications.os AS Specifications__os, Specifications.launcher AS Specifications__launcher, Specifications.dimensions AS Specifications__dimensions, Specifications.weight AS Specifications__weight, Specifications.battery AS Specifications__battery, Specifications.recharge AS Specifications__recharge, Specifications.display AS Specifications__display, Specifications.camera AS Specifications__camera, Specifications.finger AS Specifications__finger, Specifications.facial AS Specifications__facial, Specifications.keyboard AS Specifications__keyboard, Specifications.other AS Specifications__other, Specifications.year AS Specifications__year, Specifications.count AS Specifications__count, Specifications.visit AS Specifications__visit FROM products Products LEFT JOIN statuses Statuses ON Statuses.id = (Products.status_id) LEFT JOIN categories Categories ON Categories.id = (Products.category_id) LEFT JOIN specifications Specifications ON Categories.id = (Specifications.category_id) WHERE Products.category_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8,:c9,:c10,:c11,:c12,:c13,:c14,:c15,:c16,:c17,:c18,:c19,:c20,:c21,:c22,:c23,:c24,:c25,:c26,:c27,:c28,:c29,:c30,:c31,:c32,:c33,:c34,:c35,:c36,:c37,:c38,:c39,:c40,:c41,:c42,:c43,:c44,:c45,:c46,:c47,:c48,:c49,:c50,:c51,:c52,:c53,:c54,:c55,:c56,:c57,:c58,:c59,:c60,:c61,:c62,:c63,:c64,:c65)',
'params' => [
[maximum depth reached]
],
'defaultTypes' => [
[maximum depth reached]
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
[maximum depth reached]
],
'matching' => [[maximum depth reached]],
'extraOptions' => [[maximum depth reached]],
'repository' => object(App\Model\Table\ProductsTable) {}
},
'filters' => [
(int) 0 => [
(int) 0 => object(App\Model\Entity\Category) {},
(int) 1 => object(App\Model\Entity\Category) {},
(int) 2 => object(App\Model\Entity\Category) {},
(int) 3 => object(App\Model\Entity\Category) {},
(int) 4 => object(App\Model\Entity\Category) {},
(int) 5 => object(App\Model\Entity\Category) {},
(int) 6 => object(App\Model\Entity\Category) {}
]
]
]
$products = object(Cake\ORM\Query) {
'(help)' => 'This is a Query object, to get the results execute or iterate it.',
'sql' => 'SELECT Products.id AS Products__id, Products.description AS Products__description, Products.status_id AS Products__status_id, Products.category_id AS Products__category_id, Products.color_id AS Products__color_id, Products.price AS Products__price, Products.sale AS Products__sale, Products.star AS Products__star, Products.created AS Products__created, Products.modified AS Products__modified, Statuses.id AS Statuses__id, Statuses.title AS Statuses__title, Categories.id AS Categories__id, Categories.title AS Categories__title, Categories.parent_id AS Categories__parent_id, Categories.lft AS Categories__lft, Categories.rght AS Categories__rght, Categories.level AS Categories__level, Categories.created AS Categories__created, Categories.modified AS Categories__modified, Categories.image AS Categories__image, Specifications.id AS Specifications__id, Specifications.title AS Specifications__title, Specifications.category_id AS Specifications__category_id, Specifications.cpu AS Specifications__cpu, Specifications.cpu_spec AS Specifications__cpu_spec, Specifications.gpu AS Specifications__gpu, Specifications.storage AS Specifications__storage, Specifications.removable AS Specifications__removable, Specifications.ram AS Specifications__ram, Specifications.os AS Specifications__os, Specifications.launcher AS Specifications__launcher, Specifications.dimensions AS Specifications__dimensions, Specifications.weight AS Specifications__weight, Specifications.battery AS Specifications__battery, Specifications.recharge AS Specifications__recharge, Specifications.display AS Specifications__display, Specifications.camera AS Specifications__camera, Specifications.finger AS Specifications__finger, Specifications.facial AS Specifications__facial, Specifications.keyboard AS Specifications__keyboard, Specifications.other AS Specifications__other, Specifications.year AS Specifications__year, Specifications.count AS Specifications__count, Specifications.visit AS Specifications__visit FROM products Products LEFT JOIN statuses Statuses ON Statuses.id = (Products.status_id) LEFT JOIN categories Categories ON Categories.id = (Products.category_id) LEFT JOIN specifications Specifications ON Categories.id = (Specifications.category_id) WHERE Products.category_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8,:c9,:c10,:c11,:c12,:c13,:c14,:c15,:c16,:c17,:c18,:c19,:c20,:c21,:c22,:c23,:c24,:c25,:c26,:c27,:c28,:c29,:c30,:c31,:c32,:c33,:c34,:c35,:c36,:c37,:c38,:c39,:c40,:c41,:c42,:c43,:c44,:c45,:c46,:c47,:c48,:c49,:c50,:c51,:c52,:c53,:c54,:c55,:c56,:c57,:c58,:c59,:c60,:c61,:c62,:c63,:c64,:c65)',
'params' => [
':c0' => [
[maximum depth reached]
],
':c1' => [
[maximum depth reached]
],
':c2' => [
[maximum depth reached]
],
':c3' => [
[maximum depth reached]
],
':c4' => [
[maximum depth reached]
],
':c5' => [
[maximum depth reached]
],
':c6' => [
[maximum depth reached]
],
':c7' => [
[maximum depth reached]
],
':c8' => [
[maximum depth reached]
],
':c9' => [
[maximum depth reached]
],
':c10' => [
[maximum depth reached]
],
':c11' => [
[maximum depth reached]
],
':c12' => [
[maximum depth reached]
],
':c13' => [
[maximum depth reached]
],
':c14' => [
[maximum depth reached]
],
':c15' => [
[maximum depth reached]
],
':c16' => [
[maximum depth reached]
],
':c17' => [
[maximum depth reached]
],
':c18' => [
[maximum depth reached]
],
':c19' => [
[maximum depth reached]
],
':c20' => [
[maximum depth reached]
],
':c21' => [
[maximum depth reached]
],
':c22' => [
[maximum depth reached]
],
':c23' => [
[maximum depth reached]
],
':c24' => [
[maximum depth reached]
],
':c25' => [
[maximum depth reached]
],
':c26' => [
[maximum depth reached]
],
':c27' => [
[maximum depth reached]
],
':c28' => [
[maximum depth reached]
],
':c29' => [
[maximum depth reached]
],
':c30' => [
[maximum depth reached]
],
':c31' => [
[maximum depth reached]
],
':c32' => [
[maximum depth reached]
],
':c33' => [
[maximum depth reached]
],
':c34' => [
[maximum depth reached]
],
':c35' => [
[maximum depth reached]
],
':c36' => [
[maximum depth reached]
],
':c37' => [
[maximum depth reached]
],
':c38' => [
[maximum depth reached]
],
':c39' => [
[maximum depth reached]
],
':c40' => [
[maximum depth reached]
],
':c41' => [
[maximum depth reached]
],
':c42' => [
[maximum depth reached]
],
':c43' => [
[maximum depth reached]
],
':c44' => [
[maximum depth reached]
],
':c45' => [
[maximum depth reached]
],
':c46' => [
[maximum depth reached]
],
':c47' => [
[maximum depth reached]
],
':c48' => [
[maximum depth reached]
],
':c49' => [
[maximum depth reached]
],
':c50' => [
[maximum depth reached]
],
':c51' => [
[maximum depth reached]
],
':c52' => [
[maximum depth reached]
],
':c53' => [
[maximum depth reached]
],
':c54' => [
[maximum depth reached]
],
':c55' => [
[maximum depth reached]
],
':c56' => [
[maximum depth reached]
],
':c57' => [
[maximum depth reached]
],
':c58' => [
[maximum depth reached]
],
':c59' => [
[maximum depth reached]
],
':c60' => [
[maximum depth reached]
],
':c61' => [
[maximum depth reached]
],
':c62' => [
[maximum depth reached]
],
':c63' => [
[maximum depth reached]
],
':c64' => [
[maximum depth reached]
],
':c65' => [
[maximum depth reached]
]
],
'defaultTypes' => [
'Products__id' => 'integer',
'Products.id' => 'integer',
'id' => 'integer',
'Products__description' => 'text',
'Products.description' => 'text',
'description' => 'text',
'Products__status_id' => 'integer',
'Products.status_id' => 'integer',
'status_id' => 'integer',
'Products__category_id' => 'integer',
'Products.category_id' => 'integer',
'category_id' => 'integer',
'Products__color_id' => 'integer',
'Products.color_id' => 'integer',
'color_id' => 'integer',
'Products__price' => 'integer',
'Products.price' => 'integer',
'price' => 'integer',
'Products__sale' => 'integer',
'Products.sale' => 'integer',
'sale' => 'integer',
'Products__star' => 'float',
'Products.star' => 'float',
'star' => 'float',
'Products__created' => 'datetime',
'Products.created' => 'datetime',
'created' => 'datetime',
'Products__modified' => 'datetime',
'Products.modified' => 'datetime',
'modified' => 'datetime',
'Statuses__id' => 'integer',
'Statuses.id' => 'integer',
'Statuses__title' => 'string',
'Statuses.title' => 'string',
'title' => 'string',
'Photos__id' => 'integer',
'Photos.id' => 'integer',
'Photos__color_id' => 'integer',
'Photos.color_id' => 'integer',
'Photos__category_id' => 'integer',
'Photos.category_id' => 'integer',
'Photos__image' => 'string',
'Photos.image' => 'string',
'image' => 'string',
'Categories__id' => 'integer',
'Categories.id' => 'integer',
'Categories__title' => 'string',
'Categories.title' => 'string',
'Categories__parent_id' => 'integer',
'Categories.parent_id' => 'integer',
'parent_id' => 'integer',
'Categories__lft' => 'integer',
'Categories.lft' => 'integer',
'lft' => 'integer',
'Categories__rght' => 'integer',
'Categories.rght' => 'integer',
'rght' => 'integer',
'Categories__level' => 'integer',
'Categories.level' => 'integer',
'level' => 'integer',
'Categories__created' => 'datetime',
'Categories.created' => 'datetime',
'Categories__modified' => 'datetime',
'Categories.modified' => 'datetime',
'Categories__image' => 'string',
'Categories.image' => 'string',
'Specifications__id' => 'integer',
'Specifications.id' => 'integer',
'Specifications__title' => 'string',
'Specifications.title' => 'string',
'Specifications__category_id' => 'integer',
'Specifications.category_id' => 'integer',
'Specifications__cpu' => 'string',
'Specifications.cpu' => 'string',
'cpu' => 'string',
'Specifications__cpu_spec' => 'string',
'Specifications.cpu_spec' => 'string',
'cpu_spec' => 'string',
'Specifications__gpu' => 'string',
'Specifications.gpu' => 'string',
'gpu' => 'string',
'Specifications__storage' => 'string',
'Specifications.storage' => 'string',
'storage' => 'string',
'Specifications__removable' => 'string',
'Specifications.removable' => 'string',
'removable' => 'string',
'Specifications__ram' => 'string',
'Specifications.ram' => 'string',
'ram' => 'string',
'Specifications__os' => 'string',
'Specifications.os' => 'string',
'os' => 'string',
'Specifications__launcher' => 'string',
'Specifications.launcher' => 'string',
'launcher' => 'string',
'Specifications__dimensions' => 'string',
'Specifications.dimensions' => 'string',
'dimensions' => 'string',
'Specifications__weight' => 'string',
'Specifications.weight' => 'string',
'weight' => 'string',
'Specifications__battery' => 'string',
'Specifications.battery' => 'string',
'battery' => 'string',
'Specifications__recharge' => 'string',
'Specifications.recharge' => 'string',
'recharge' => 'string',
'Specifications__display' => 'string',
'Specifications.display' => 'string',
'display' => 'string',
'Specifications__camera' => 'string',
'Specifications.camera' => 'string',
'camera' => 'string',
'Specifications__finger' => 'string',
'Specifications.finger' => 'string',
'finger' => 'string',
'Specifications__facial' => 'string',
'Specifications.facial' => 'string',
'facial' => 'string',
'Specifications__keyboard' => 'string',
'Specifications.keyboard' => 'string',
'keyboard' => 'string',
'Specifications__other' => 'text',
'Specifications.other' => 'text',
'other' => 'text',
'Specifications__year' => 'char',
'Specifications.year' => 'char',
'year' => 'char',
'Specifications__count' => 'integer',
'Specifications.count' => 'integer',
'count' => 'integer',
'Specifications__visit' => 'integer',
'Specifications.visit' => 'integer',
'visit' => 'integer',
'ParentCategories__id' => 'integer',
'ParentCategories.id' => 'integer',
'ParentCategories__title' => 'string',
'ParentCategories.title' => 'string',
'ParentCategories__parent_id' => 'integer',
'ParentCategories.parent_id' => 'integer',
'ParentCategories__lft' => 'integer',
'ParentCategories.lft' => 'integer',
'ParentCategories__rght' => 'integer',
'ParentCategories.rght' => 'integer',
'ParentCategories__level' => 'integer',
'ParentCategories.level' => 'integer',
'ParentCategories__created' => 'datetime',
'ParentCategories.created' => 'datetime',
'ParentCategories__modified' => 'datetime',
'ParentCategories.modified' => 'datetime',
'ParentCategories__image' => 'string',
'ParentCategories.image' => 'string',
'Colors__id' => 'integer',
'Colors.id' => 'integer',
'Colors__title' => 'string',
'Colors.title' => 'string',
'Colors__code' => 'string',
'Colors.code' => 'string',
'code' => 'string'
],
'decorators' => (int) 0,
'executed' => true,
'hydrate' => true,
'buffered' => true,
'formatters' => (int) 0,
'mapReducers' => (int) 0,
'contain' => [
'Statuses' => [[maximum depth reached]],
'Photos' => [[maximum depth reached]],
'Categories' => [
[maximum depth reached]
]
],
'matching' => [],
'extraOptions' => [],
'repository' => object(App\Model\Table\ProductsTable) {}
}
$filters = [
(int) 0 => [
(int) 0 => object(App\Model\Entity\Category) {},
(int) 1 => object(App\Model\Entity\Category) {},
(int) 2 => object(App\Model\Entity\Category) {},
(int) 3 => object(App\Model\Entity\Category) {},
(int) 4 => object(App\Model\Entity\Category) {},
(int) 5 => object(App\Model\Entity\Category) {},
(int) 6 => object(App\Model\Entity\Category) {}
]
]
$product = object(App\Model\Entity\Product) {
'id' => (int) 202,
'description' => 'Samsung S22 ultra 128GB euro 2 simtei',
'status_id' => (int) 1,
'category_id' => (int) 330,
'color_id' => (int) 6,
'price' => (int) 3899000,
'sale' => (int) 0,
'star' => (float) 5,
'created' => object(Cake\I18n\FrozenTime) {},
'modified' => object(Cake\I18n\FrozenTime) {},
'category' => object(App\Model\Entity\Category) {},
'photos' => [
(int) 0 => object(App\Model\Entity\Photo) {}
],
'status' => object(App\Model\Entity\Status) {},
'[new]' => false,
'[accessible]' => [
'description' => true,
'status_id' => true,
'category_id' => true,
'color_id' => true,
'price' => true,
'sale' => true,
'star' => true,
'created' => true,
'modified' => true,
'status' => true,
'category' => true,
'color' => true,
'photos' => true
],
'[dirty]' => [],
'[original]' => [],
'[virtual]' => [],
'[hasErrors]' => false,
'[errors]' => [],
'[invalid]' => [],
'[repository]' => 'Products'
}
$key = (int) 21
include - ROOT/templates/Categories/home.php, line 45
Cake\View\View::_evaluate() - CORE/src/View/View.php, line 1164
Cake\View\View::_render() - CORE/src/View/View.php, line 1125
Cake\View\View::render() - CORE/src/View/View.php, line 751
Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 691
Cake\Controller\Controller::invokeAction() - CORE/src/Controller/Controller.php, line 533
Cake\Controller\ControllerFactory::invoke() - CORE/src/Controller/ControllerFactory.php, line 79
Cake\Http\BaseApplication::handle() - CORE/src/Http/BaseApplication.php, line 229
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 77
Cake\Http\Middleware\DoublePassDecoratorMiddleware::Cake\Http\Middleware\{closure}() - CORE/src/Http/Middleware/DoublePassDecoratorMiddleware.php, line 74
App\Application::App\{closure}() - APP/Application.php, line 118
Cake\Http\Middleware\DoublePassDecoratorMiddleware::process() - CORE/src/Http/Middleware/DoublePassDecoratorMiddleware.php, line 75
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Authorization\Middleware\AuthorizationMiddleware::process() - ROOT/vendor/cakephp/authorization/src/Middleware/AuthorizationMiddleware.php, line 129
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
Authentication\Middleware\AuthenticationMiddleware::process() - ROOT/vendor/cakephp/authentication/src/Middleware/AuthenticationMiddleware.php, line 122
Cake\Http\Runner::handle() - CORE/src/Http/Runner.php, line 73
/specifications/compare" data-toggle="tooltip" data-placement="left" title="Харьцуулах">