* @link https://book.cakephp.org/2.0/en/controllers.html#Controller::paginate
*/
public function paginate($object = null, $scope = array(), $whitelist = array()) {
return $this->Components->load('Paginator', $this->paginate)->paginate($object, $scope, $whitelist);
}
object(Product) { actsAs => array( (int) 0 => 'Containable', (int) 1 => 'MultiTenant.TenantScope' ) hasAndBelongsToMany => array( 'Category' => array( 'className' => 'Category', 'joinTable' => 'products_categories', 'foreignKey' => 'product_id', 'associationForeignKey' => 'category_id', 'with' => 'ProductsCategory', 'dynamicWith' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'unique' => true, 'finderQuery' => '' ), 'Catalog' => array( 'className' => 'Catalog', 'joinTable' => 'products_catalogs', 'foreignKey' => 'product_id', 'associationForeignKey' => 'catalog_id', 'with' => 'ProductsCatalog', 'dynamicWith' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'unique' => true, 'finderQuery' => '' ), 'BundleProduct' => array( 'className' => 'Product', 'joinTable' => 'product_bundle_products', 'foreignKey' => 'product_id', 'associationForeignKey' => 'bundle_product_id', 'type' => 'LEFT', 'with' => 'ProductBundleProduct', 'dynamicWith' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'unique' => true, 'finderQuery' => '' ) ) hasMany => array( 'Discount' => array( 'type' => 'left', 'className' => 'Discount', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductBulkPrice' => array( 'type' => 'left', 'className' => 'ProductBulkPrice', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductImage' => array( 'type' => 'left', 'className' => 'ProductImage', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductAttribute' => array( 'type' => 'left', 'className' => 'ProductAttribute', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductBundleProduct' => array( 'type' => 'left', 'className' => 'ProductBundleProduct', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductStockAssignment' => array( 'type' => 'left', 'className' => 'ProductStockAssignment', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductConfigField' => array( 'type' => 'left', 'className' => 'ProductConfigField', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) belongsTo => array( 'QuantityUom' => array( 'className' => 'QuantityUom', 'foreignKey' => 'quantity_uom_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ), 'Currency' => array( 'className' => 'Currency', 'foreignKey' => 'purchase_currency_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ), 'Brand' => array( 'type' => 'left', 'className' => 'Brand', 'foreignKey' => 'brand_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) validate => array( 'name' => array( 'required' => array( [maximum depth reached] ) ), 'reference' => array( 'required' => array( [maximum depth reached] ), 'unique' => array( [maximum depth reached] ) ), 'sale_price' => array( 'required' => array( [maximum depth reached] ), 'numeric' => array( [maximum depth reached] ) ) ) recursive => (int) -1 useDbConfig => 'default' useTable => 'products' id => false data => array() schemaName => 'smartycart' table => 'products' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'Product' alias => 'Product' tableToModel => array( 'products' => 'Product', 'categories' => 'Category', 'product_images' => 'ProductImage', 'product_attributes' => 'ProductAttribute' ) cacheQueries => false hasOne => array() Behaviors => object(BehaviorCollection) { modelName => 'Product' 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 order => null virtualFields => array( 'categories' => 'GROUP_CONCAT(Category.name)' ) __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 ) Category => object(Category) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'categories' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'categories' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Category' alias => 'Category' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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 => 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 } ProductImage => object(ProductImage) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'product_images' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'product_images' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'ProductImage' alias => 'ProductImage' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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 => 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 } ProductAttribute => object(ProductAttribute) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'product_attributes' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'product_attributes' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'ProductAttribute' alias => 'ProductAttribute' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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] ) ProductAttributeCombination => object(ProductAttributeCombination) {} [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 } ProductsCategory => object(AppModel) { recursive => (int) -1 useDbConfig => 'default' useTable => 'products_categories' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'products_categories' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'ProductsCategory' alias => 'ProductsCategory' 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 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 [private] originalValidate => array([maximum depth reached]) } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => null, 'unsigned' => false, 'key' => 'primary' ), 'reference' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 50, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'name' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 100, 'key' => 'index', 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'description' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'sale_price' => array( 'type' => 'decimal', 'null' => false, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'active' => array( 'type' => 'boolean', 'null' => false, 'default' => '1', 'length' => (int) 1 ), 'created' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'company_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'external_id' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'key' => 'index', 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'tags' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 512, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'quantity_per_unit_pack' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false ), 'quantity_inner_pack' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false ), 'quantity_multiples_to_enforce' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false ), 'barcode' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 256, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'stock' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => null, 'unsigned' => false ), 'stock_min' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => null, 'unsigned' => false ), 'stock_min_reached_action_id' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => null, 'unsigned' => true ), 'location' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 50, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'priority_order_asc' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false ), 'quantity_per_unit_pack_uom_id' => array( 'type' => 'integer', 'null' => false, 'default' => '2', 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'quantity_inner_pack_uom_id' => array( 'type' => 'integer', 'null' => false, 'default' => '3', 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'quantity_uom_id' => array( 'type' => 'integer', 'null' => false, 'default' => '1', 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'purchase_price' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'purchase_currency_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'purchase_price_fob' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'purchase_fob_currency_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'price_to_compare' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'fixed_price' => array( 'type' => 'boolean', 'null' => false, 'default' => '0', 'length' => (int) 1 ), 'brand_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false, 'key' => 'index' ), 'video_id' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 64, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'min_advertised_price' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'quantity_multiples_to_enforce_distribution' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 768, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'seo_title' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 70, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'seo_descr' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 320, 'collate' => 'utf8mb4_0900_ai_ci', 'charset' => 'utf8mb4' ), 'quantity_min_sell' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null, 'unsigned' => false ), 'modified_price' => array( 'type' => 'datetime', 'null' => true, 'default' => null, 'length' => null ) ) [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( 'Product.active' => (int) 1, 'ProductsCategory.category_id' => array( (int) 0 => '6052' ) ) array()
}
}
//
$products = $this->paginate('Product', $conditions);
return $products;
'Product' array( 'Product.active' => (int) 1, 'ProductsCategory.category_id' => array( (int) 0 => '6052' ) )
]);
}
$products = $this->fetchProductsForCatalog($catalog, $customer_group_id, $this->request->query, $productContains);
array( 'Catalog' => array( 'id' => '3992', 'name' => 'Completo', 'created' => '2021-01-19 10:48:48', 'modified' => '2023-08-15 12:52:59', 'deleted' => false, 'company_id' => '61', 'enable_carts' => '1', 'text_email' => '', 'catalog_type_id' => '2', 'catalog_product_filters' => '[]', 'token_redirect_id' => '432858', 'image_banner' => null, 'image_banner_dir' => null, 'custom_template_id' => null, 'no_prices_token_redirect_id' => '432161', 'marketing_display_sections_json' => '{"popup":"657"}', 'min_order_amount' => null, 'min_order_quantity' => null, 'sort_id' => '3' ) ) null array( 'category_id' => '6052', 'page' => '10', 'sort' => 'reference', 'direction' => 'desc' ) array( (int) 0 => 'ProductImage', 'ProductAttribute' => array( 'conditions' => array( 'ProductAttribute.active' => true ) ), (int) 1 => 'ProductAttribute.ProductAttributeCombination', 'ProductAttribute.ProductAttributeCombination.AttributeValue' => array( 'fields' => array( (int) 0 => 'id', (int) 1 => 'name', (int) 2 => 'attribute_id', (int) 3 => 'priority_order_asc', (int) 4 => 'color' ) ) )
$this->__view_product($product_id, $catalog_id, $customer_id, $can_create_order, $hide_prices, $customer_group_id);
}
else {
$this->__view($catalog_id, $customer_id, $can_create_order, $hide_prices, $customer_group_id);
}
'3992' null false true null
$this->set('title_for_layout', $slug);
}
return $this->cust_view();
}
'6052' 'NOVEDADES'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(CatalogsController) { uses => array( (int) 0 => 'Catalog', (int) 1 => 'Product', (int) 2 => 'Customer', (int) 3 => 'ProductsCatalog', (int) 4 => 'ProductsCategory', (int) 5 => 'Category', (int) 6 => 'Company', (int) 7 => 'Discount', (int) 8 => 'LogSentCatalog', (int) 9 => 'Cart', (int) 10 => 'CartItem', (int) 11 => 'Attribute', (int) 12 => 'QuantityUom', (int) 13 => 'Notification', (int) 14 => 'CustomFilter', (int) 15 => 'CustomTemplate', (int) 16 => 'CompanyPaymentGateway', (int) 17 => 'CompanyDomain', (int) 18 => 'MarketingDisplaySection', (int) 19 => 'ProductBulkPrice', (int) 20 => 'Group', (int) 21 => 'User', (int) 22 => 'CustomerContact' ) components => array( 'Auth' => null, 'Session' => null, 'Cookie' => null, 'Acl' => null, 'Flash' => null, 'Marketing' => null, 'Catalogs' => null, 'TrackingEvent' => null, 'Filter' => array( 'fields' => array( [maximum depth reached] ) ), 'Time' => null, 'Carts' => null, 'Module' => null, 'Csv' => null ) paginate => array( 'Catalog' => array( 'contain' => array( [maximum depth reached] ), 'limit' => (int) 20, 'order' => array( [maximum depth reached] ) ), 'Product' => array( 'paramType' => 'querystring', 'fields' => array( [maximum depth reached] ), 'limit' => (int) 30, 'maxLimit' => (int) 1000, 'joins' => array( [maximum depth reached] ), 'group' => 'Product.id', 'order' => 'Product.modified DESC', 'replace_thumb' => true, 'contain' => array( [maximum depth reached] ) ), 'Customer' => array( 'limit' => (int) 20, 'order' => array( [maximum depth reached] ) ), 'LogSentCatalog' => array( 'contain' => array( [maximum depth reached] ), 'limit' => (int) 20, 'order' => array( [maximum depth reached] ) ) ) helpers => array( 'Html' => array( 'className' => 'MyHtml' ), (int) 0 => 'Localization', 'Number' => array( 'className' => 'MyNumber' ), 'Text' => array( 'className' => 'MyText' ), (int) 1 => 'Module', (int) 2 => 'TrackingEvent' ) name => 'Catalogs' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'Catalogs/category/6052/NOVEDADES' base => '' webroot => '/' here => '/Catalogs/category/6052/NOVEDADES' [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 => 'Catalogs' layoutPath => null viewVars => array( 'selected_category' => array( 'Category' => array( [maximum depth reached] ) ), 'selected_category_id' => '6052', 'customFilters' => array(), 'title_for_layout' => 'NOVEDADES', 'loggedUser' => null, 'opensearch_file_route' => null, 'useServiceWorker' => false, 'manifest_file_route' => null, 'lang' => 'es', 'favicon' => 'https://www.smartycart.com.ar/files/marketing/61/general/logo%20M47%20faviconAZ.png', 'company_name' => 'Maipu 47', 'og_image_for_layout' => 'https://www.smarty.com.ar/slir/w300-h200https://www.smartycart.com.ar/files/marketing/61/general/logo%20Maipu47%20S%3AF.png', 'pathLogo' => 'https://www.smartycart.com.ar/files/marketing/61/general/logo%20Maipu47%20S%3AF.png', 'settings' => array( 'color_header_bg' => '#e9e7e7', 'color_header_text' => '#0a0a0a', 'color_body_bg' => '#ffffff', 'color_body_text' => '#7a7a7a', 'color_footer_bg' => '#ffffff', 'color_footer_text' => 'auto', 'color_tag_bg' => '#0056d6', 'color_tag_text' => '#FFFFFF', 'font_base_family' => '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"', 'font_base_size' => '1em', 'font_headings_family' => 'inherit', 'text-sale-ribbon' => 'OFERTA', 'head_main_title' => 'Maipu 47', 'cart_mode' => 'b2b', 'show_item_comments' => false, 'meta' => array( [maximum depth reached] ), 'footer' => array( [maximum depth reached] ), 'currency_code' => 'ARS', 'color_primary' => '#ff4013', 'color_secondary' => '#ff2600', 'header' => array( [maximum depth reached] ), 'main-menu' => array( [maximum depth reached] ), 'whatsapp' => array( [maximum depth reached] ), 'favicon' => 'https://www.smartycart.com.ar/files/marketing/61/general/logo%20M47%20faviconAZ.png', 'home' => array( [maximum depth reached] ) ), 'threadedCategories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'customCss' => array( (int) 0 => '/cust_layout/company/61/base.css' ), 'companyDomain' => array( 'CompanyDomain' => array( [maximum depth reached] ) ), 'company' => array( 'Company' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ) ) ) view => 'view' layout => 'cust_default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(CatalogsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '6052', (int) 1 => 'NOVEDADES' ) scaffold => false methods => array( (int) 1 => 'index', (int) 2 => 'detail', (int) 3 => 'detail_extra', (int) 4 => 'fix_token_redirects', (int) 5 => 'delete', (int) 6 => 'undelete', (int) 7 => 'download', (int) 8 => 'download_csv', (int) 9 => 'createPublicToken', (int) 10 => 'search_catalog', (int) 11 => 'view', (int) 12 => 'cust_home', (int) 13 => 'cust_category', (int) 14 => 'cust_view', (int) 15 => 'cust_instagram', (int) 18 => 'redefineTenantIfNecessary', (int) 19 => 'isCustomerRequest', (int) 20 => 'addCustomCss', (int) 21 => 'addPreloadImage', (int) 22 => 'setSessionCompanyVariables', (int) 23 => 'setViewCompanyVariables', (int) 24 => '_processSubdomain', (int) 25 => 'isAuthorized', (int) 26 => '_setLanguage', (int) 27 => 'getManifestFileRoute', (int) 28 => 'getOpenSearchRoute', (int) 29 => 'getRedirectTo', (int) 30 => '_makePublic', (int) 31 => 'verifyRecaptcha2', (int) 32 => 'verifyRecaptcha3', (int) 33 => 'checkCustomerGroupAllowed', (int) 34 => 'getLastQueries', (int) 35 => 'getLastQuery' ) modelClass => 'Catalog' modelKey => 'catalog' validationErrors => null Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) authError => 'Por favor ingrese su email y contraseña para entrar aqui.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array([maximum depth reached]) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'bFJ92mqs*&FXOw!sdrR@34SJv!@*(XSL#$%)MsGb$@11~_+!@#H123456' httpOnly => true settings => array([maximum depth reached]) components => array([maximum depth reached]) _encrypted => true [protected] _values => array( [maximum depth reached] ) [protected] _type => 'cipher' [protected] _reset => (int) 0 [protected] _expires => '2027244364' [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Acl => object(AclComponent) { Aro => object(Aro) {} Aco => object(Aco) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Instance => object(DbAcl) {} [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]) } Marketing => object(MarketingComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Catalogs => object(CatalogsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } TrackingEvent => object(TrackingEventComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Filter => object(FilterComponent) { components => array( [maximum depth reached] ) fields => array( [maximum depth reached] ) clearParameters => 'clearFilters' settings => array( [maximum depth reached] ) Session => object(SessionComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Time => object(TimeComponent) { fromFormat => 'd/m/Y' toFormat => 'Y-m-d' settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Carts => object(CartsComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Module => object(ModuleComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Csv => object(CsvComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Company => object(Company) { actsAs => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'companies' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'companies' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Company' alias => 'Company' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) 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] ) Module => object(Module) {} CompanyModule => object(CompanyModule) {} [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 } CompanyDomain => object(CompanyDomain) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'company_domains' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'company_domains' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CompanyDomain' alias => 'CompanyDomain' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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 => 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 } Catalog => object(Catalog) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'catalogs' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'catalogs' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Catalog' alias => 'Catalog' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) 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] ) Product => object(Product) {} [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 } CustomerContact => object(CustomerContact) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'customer_contacts' id => null data => array([maximum depth reached]) schemaName => null table => 'customer_contacts' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'CustomerContact' alias => 'CustomerContact' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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] ) Customer => object(Customer) {} [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 } Customer => object(Customer) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'customers' id => false data => array([maximum depth reached]) schemaName => null table => 'customers' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Customer' alias => 'Customer' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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 => false [protected] _eventManager => null [protected] _validator => null } Product => object(Product) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'products' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'products' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Product' alias => 'Product' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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] ) Category => object(Category) {} ProductImage => object(ProductImage) {} ProductAttribute => object(ProductAttribute) {} ProductsCategory => object(AppModel) {} [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 } CustomFilter => object(CustomFilter) { actsAs => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'custom_filters' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'custom_filters' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CustomFilter' alias => 'CustomFilter' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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] ) CustomFilterCatalog => object(CustomFilterCatalog) {} [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 } Category => object(Category) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'categories' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'categories' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Category' alias => 'Category' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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 => 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 => '6052', (int) 1 => 'NOVEDADES' )
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'Catalogs', 'action' => 'cust_category', 'named' => array(), 'pass' => array( (int) 0 => '6052', (int) 1 => 'NOVEDADES' ), 'prefix' => 'cust', 'cust' => true, 'paging' => array( 'Product' => array( [maximum depth reached] ) ), 'models' => array( 'Group' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Company' => array( [maximum depth reached] ), 'CompanyDomain' => array( [maximum depth reached] ), 'CustomerContact' => array( [maximum depth reached] ), 'Notification' => array( [maximum depth reached] ), 'Catalog' => array( [maximum depth reached] ), 'Customer' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'CompanyModule' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Category' => array( [maximum depth reached] ), 'ProductImage' => array( [maximum depth reached] ), 'ProductAttribute' => array( [maximum depth reached] ), 'ProductAttributeCombination' => array( [maximum depth reached] ), 'AttributeValue' => array( [maximum depth reached] ), 'CustomFilter' => array( [maximum depth reached] ), 'CustomFilterCatalog' => array( [maximum depth reached] ), 'ProductsCategory' => array( [maximum depth reached] ) ) ) data => array() query => array( 'category_id' => '6052', 'page' => '10', 'sort' => 'reference', 'direction' => 'desc' ) url => 'Catalogs/category/6052/NOVEDADES' base => '' webroot => '/' here => '/Catalogs/category/6052/NOVEDADES' [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(CatalogsController) { uses => array( (int) 0 => 'Catalog', (int) 1 => 'Product', (int) 2 => 'Customer', (int) 3 => 'ProductsCatalog', (int) 4 => 'ProductsCategory', (int) 5 => 'Category', (int) 6 => 'Company', (int) 7 => 'Discount', (int) 8 => 'LogSentCatalog', (int) 9 => 'Cart', (int) 10 => 'CartItem', (int) 11 => 'Attribute', (int) 12 => 'QuantityUom', (int) 13 => 'Notification', (int) 14 => 'CustomFilter', (int) 15 => 'CustomTemplate', (int) 16 => 'CompanyPaymentGateway', (int) 17 => 'CompanyDomain', (int) 18 => 'MarketingDisplaySection', (int) 19 => 'ProductBulkPrice', (int) 20 => 'Group', (int) 21 => 'User', (int) 22 => 'CustomerContact' ) components => array( 'Auth' => null, 'Session' => null, 'Cookie' => null, 'Acl' => null, 'Flash' => null, 'Marketing' => null, 'Catalogs' => null, 'TrackingEvent' => null, 'Filter' => array( 'fields' => array( [maximum depth reached] ) ), 'Time' => null, 'Carts' => null, 'Module' => null, 'Csv' => null ) paginate => array( 'Catalog' => array( 'contain' => array( [maximum depth reached] ), 'limit' => (int) 20, 'order' => array( [maximum depth reached] ) ), 'Product' => array( 'paramType' => 'querystring', 'fields' => array( [maximum depth reached] ), 'limit' => (int) 30, 'maxLimit' => (int) 1000, 'joins' => array( [maximum depth reached] ), 'group' => 'Product.id', 'order' => 'Product.modified DESC', 'replace_thumb' => true, 'contain' => array( [maximum depth reached] ) ), 'Customer' => array( 'limit' => (int) 20, 'order' => array( [maximum depth reached] ) ), 'LogSentCatalog' => array( 'contain' => array( [maximum depth reached] ), 'limit' => (int) 20, 'order' => array( [maximum depth reached] ) ) ) helpers => array( 'Html' => array( 'className' => 'MyHtml' ), (int) 0 => 'Localization', 'Number' => array( 'className' => 'MyNumber' ), 'Text' => array( 'className' => 'MyText' ), (int) 1 => 'Module', (int) 2 => 'TrackingEvent' ) name => 'Catalogs' request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'Catalogs/category/6052/NOVEDADES' base => '' webroot => '/' here => '/Catalogs/category/6052/NOVEDADES' [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 => 'Catalogs' layoutPath => null viewVars => array( 'selected_category' => array( 'Category' => array( [maximum depth reached] ) ), 'selected_category_id' => '6052', 'customFilters' => array(), 'title_for_layout' => 'NOVEDADES', 'loggedUser' => null, 'opensearch_file_route' => null, 'useServiceWorker' => false, 'manifest_file_route' => null, 'lang' => 'es', 'favicon' => 'https://www.smartycart.com.ar/files/marketing/61/general/logo%20M47%20faviconAZ.png', 'company_name' => 'Maipu 47', 'og_image_for_layout' => 'https://www.smarty.com.ar/slir/w300-h200https://www.smartycart.com.ar/files/marketing/61/general/logo%20Maipu47%20S%3AF.png', 'pathLogo' => 'https://www.smartycart.com.ar/files/marketing/61/general/logo%20Maipu47%20S%3AF.png', 'settings' => array( 'color_header_bg' => '#e9e7e7', 'color_header_text' => '#0a0a0a', 'color_body_bg' => '#ffffff', 'color_body_text' => '#7a7a7a', 'color_footer_bg' => '#ffffff', 'color_footer_text' => 'auto', 'color_tag_bg' => '#0056d6', 'color_tag_text' => '#FFFFFF', 'font_base_family' => '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"', 'font_base_size' => '1em', 'font_headings_family' => 'inherit', 'text-sale-ribbon' => 'OFERTA', 'head_main_title' => 'Maipu 47', 'cart_mode' => 'b2b', 'show_item_comments' => false, 'meta' => array( [maximum depth reached] ), 'footer' => array( [maximum depth reached] ), 'currency_code' => 'ARS', 'color_primary' => '#ff4013', 'color_secondary' => '#ff2600', 'header' => array( [maximum depth reached] ), 'main-menu' => array( [maximum depth reached] ), 'whatsapp' => array( [maximum depth reached] ), 'favicon' => 'https://www.smartycart.com.ar/files/marketing/61/general/logo%20M47%20faviconAZ.png', 'home' => array( [maximum depth reached] ) ), 'threadedCategories' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ), (int) 4 => array( [maximum depth reached] ), (int) 5 => array( [maximum depth reached] ), (int) 6 => array( [maximum depth reached] ), (int) 7 => array( [maximum depth reached] ), (int) 8 => array( [maximum depth reached] ), (int) 9 => array( [maximum depth reached] ), (int) 10 => array( [maximum depth reached] ) ), 'customCss' => array( (int) 0 => '/cust_layout/company/61/base.css' ), 'companyDomain' => array( 'CompanyDomain' => array( [maximum depth reached] ) ), 'company' => array( 'Company' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ) ) ) view => 'view' layout => 'cust_default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(CatalogsController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '6052', (int) 1 => 'NOVEDADES' ) scaffold => false methods => array( (int) 1 => 'index', (int) 2 => 'detail', (int) 3 => 'detail_extra', (int) 4 => 'fix_token_redirects', (int) 5 => 'delete', (int) 6 => 'undelete', (int) 7 => 'download', (int) 8 => 'download_csv', (int) 9 => 'createPublicToken', (int) 10 => 'search_catalog', (int) 11 => 'view', (int) 12 => 'cust_home', (int) 13 => 'cust_category', (int) 14 => 'cust_view', (int) 15 => 'cust_instagram', (int) 18 => 'redefineTenantIfNecessary', (int) 19 => 'isCustomerRequest', (int) 20 => 'addCustomCss', (int) 21 => 'addPreloadImage', (int) 22 => 'setSessionCompanyVariables', (int) 23 => 'setViewCompanyVariables', (int) 24 => '_processSubdomain', (int) 25 => 'isAuthorized', (int) 26 => '_setLanguage', (int) 27 => 'getManifestFileRoute', (int) 28 => 'getOpenSearchRoute', (int) 29 => 'getRedirectTo', (int) 30 => '_makePublic', (int) 31 => 'verifyRecaptcha2', (int) 32 => 'verifyRecaptcha3', (int) 33 => 'checkCustomerGroupAllowed', (int) 34 => 'getLastQueries', (int) 35 => 'getLastQuery' ) modelClass => 'Catalog' modelKey => 'catalog' validationErrors => null Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) authError => 'Por favor ingrese su email y contraseña para entrar aqui.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array([maximum depth reached]) [protected] _authenticateObjects => array( [maximum depth reached] ) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'bFJ92mqs*&FXOw!sdrR@34SJv!@*(XSL#$%)MsGb$@11~_+!@#H123456' httpOnly => true settings => array([maximum depth reached]) components => array([maximum depth reached]) _encrypted => true [protected] _values => array( [maximum depth reached] ) [protected] _type => 'cipher' [protected] _reset => (int) 0 [protected] _expires => '2027244364' [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Acl => object(AclComponent) { Aro => object(Aro) {} Aco => object(Aco) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Instance => object(DbAcl) {} [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]) } Marketing => object(MarketingComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Catalogs => object(CatalogsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } TrackingEvent => object(TrackingEventComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Filter => object(FilterComponent) { components => array( [maximum depth reached] ) fields => array( [maximum depth reached] ) clearParameters => 'clearFilters' settings => array( [maximum depth reached] ) Session => object(SessionComponent) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Time => object(TimeComponent) { fromFormat => 'd/m/Y' toFormat => 'Y-m-d' settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Carts => object(CartsComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Module => object(ModuleComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Csv => object(CsvComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Company => object(Company) { actsAs => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'companies' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'companies' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Company' alias => 'Company' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) 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] ) Module => object(Module) {} CompanyModule => object(CompanyModule) {} [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 } CompanyDomain => object(CompanyDomain) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'company_domains' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'company_domains' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CompanyDomain' alias => 'CompanyDomain' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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 => 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 } Catalog => object(Catalog) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'catalogs' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'catalogs' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Catalog' alias => 'Catalog' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) 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] ) Product => object(Product) {} [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 } CustomerContact => object(CustomerContact) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'customer_contacts' id => null data => array([maximum depth reached]) schemaName => null table => 'customer_contacts' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'CustomerContact' alias => 'CustomerContact' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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] ) Customer => object(Customer) {} [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 } Customer => object(Customer) { actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'customers' id => false data => array([maximum depth reached]) schemaName => null table => 'customers' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Customer' alias => 'Customer' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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 => false [protected] _eventManager => null [protected] _validator => null } Product => object(Product) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'products' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'products' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Product' alias => 'Product' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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] ) Category => object(Category) {} ProductImage => object(ProductImage) {} ProductAttribute => object(ProductAttribute) {} ProductsCategory => object(AppModel) {} [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 } CustomFilter => object(CustomFilter) { actsAs => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'custom_filters' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'custom_filters' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'CustomFilter' alias => 'CustomFilter' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) 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] ) CustomFilterCatalog => object(CustomFilterCatalog) {} [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 } Category => object(Category) { actsAs => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) recursive => (int) -1 useDbConfig => 'default' useTable => 'categories' id => false data => array([maximum depth reached]) schemaName => 'smartycart' table => 'categories' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Category' alias => 'Category' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) 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 => 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' => 'Catalogs', 'action' => 'cust_category', 'named' => array(), 'pass' => array( (int) 0 => '6052', (int) 1 => 'NOVEDADES' ), 'prefix' => 'cust', 'cust' => true, 'paging' => array( 'Product' => array( [maximum depth reached] ) ), 'models' => array( 'Group' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Company' => array( [maximum depth reached] ), 'CompanyDomain' => array( [maximum depth reached] ), 'CustomerContact' => array( [maximum depth reached] ), 'Notification' => array( [maximum depth reached] ), 'Catalog' => array( [maximum depth reached] ), 'Customer' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'CompanyModule' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Category' => array( [maximum depth reached] ), 'ProductImage' => array( [maximum depth reached] ), 'ProductAttribute' => array( [maximum depth reached] ), 'ProductAttributeCombination' => array( [maximum depth reached] ), 'AttributeValue' => array( [maximum depth reached] ), 'CustomFilter' => array( [maximum depth reached] ), 'CustomFilterCatalog' => array( [maximum depth reached] ), 'ProductsCategory' => array( [maximum depth reached] ) ) ) data => array() query => array( 'category_id' => '6052', 'page' => '10', 'sort' => 'reference', 'direction' => 'desc' ) url => 'Catalogs/category/6052/NOVEDADES' base => '' webroot => '/' here => '/Catalogs/category/6052/NOVEDADES' [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 => '' }
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'Catalogs', 'action' => 'cust_category', 'named' => array(), 'pass' => array( (int) 0 => '6052', (int) 1 => 'NOVEDADES' ), 'prefix' => 'cust', 'cust' => true, 'paging' => array( 'Product' => array( [maximum depth reached] ) ), 'models' => array( 'Group' => array( [maximum depth reached] ), 'User' => array( [maximum depth reached] ), 'Company' => array( [maximum depth reached] ), 'CompanyDomain' => array( [maximum depth reached] ), 'CustomerContact' => array( [maximum depth reached] ), 'Notification' => array( [maximum depth reached] ), 'Catalog' => array( [maximum depth reached] ), 'Customer' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Module' => array( [maximum depth reached] ), 'CompanyModule' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Category' => array( [maximum depth reached] ), 'ProductImage' => array( [maximum depth reached] ), 'ProductAttribute' => array( [maximum depth reached] ), 'ProductAttributeCombination' => array( [maximum depth reached] ), 'AttributeValue' => array( [maximum depth reached] ), 'CustomFilter' => array( [maximum depth reached] ), 'CustomFilterCatalog' => array( [maximum depth reached] ), 'ProductsCategory' => array( [maximum depth reached] ) ) ) data => array() query => array( 'category_id' => '6052', 'page' => '10', 'sort' => 'reference', 'direction' => 'desc' ) url => 'Catalogs/category/6052/NOVEDADES' base => '' webroot => '/' here => '/Catalogs/category/6052/NOVEDADES' [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( 'CakeCookie[lang]' => array( 'name' => 'CakeCookie[lang]', 'value' => 'es', 'expire' => '2027244364', 'path' => '/', 'domain' => '', 'secure' => false, 'httpOnly' => true ) ) }