Error: The requested address '/Ophthalmic/index/page:2?brand=55' was not found on this server.
* @link http://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' ) name => 'Product' hasOne => array( 'ProductSunglass' => array( 'className' => 'ProductSunglass', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ), 'ProductContactLen' => array( 'className' => 'ProductContactLen', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ), 'VProduct' => array( 'className' => 'VProduct', 'foreignKey' => 'id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ) ) belongsTo => array( 'Brand' => array( 'className' => 'Brand', 'foreignKey' => 'brand_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) virtualFields => array( 'real_price' => 'CASE WHEN Product.discount>0 THEN Product.price_offer WHEN FLOOR(Product.discount)=0 THEN Product.price END' ) hasMany => array( 'ProductData' => array( 'className' => 'ProductData', 'foreignKey' => 'id_product', 'order' => array( [maximum depth reached] ), 'conditions' => '', 'fields' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductStyle' => array( 'className' => 'ProductStyle', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductMaterial' => array( 'className' => 'ProductMaterial', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductGender' => array( 'className' => 'ProductGender', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductLensTreatment' => array( 'className' => 'ProductLensTreatment', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductFaceShape' => array( 'className' => 'ProductFaceShape', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductColor' => array( 'className' => 'ProductColor', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductCategory' => array( 'className' => 'ProductCategory', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductDuration' => array( 'className' => 'ProductDuration', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductUse' => array( 'className' => 'ProductUse', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductQuantity' => array( 'className' => 'ProductQuantity', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductCurve' => array( 'className' => 'ProductCurve', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductDiameter' => array( 'className' => 'ProductDiameter', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductPower' => array( 'className' => 'ProductPower', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductAxis' => array( 'className' => 'ProductAxis', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductGraduation' => array( 'className' => 'ProductGraduation', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProductInventory' => array( 'className' => 'ProductInventory', 'foreignKey' => 'id_product', 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) hasAndBelongsToMany => array( 'Color' => array( 'className' => 'Color', 'joinTable' => 'product_colors', 'foreignKey' => 'product_id', 'associationForeignKey' => 'color_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'with' => 'ProductColor' ), 'Gender' => array( 'className' => 'Gender', 'joinTable' => 'product_genders', 'foreignKey' => 'product_id', 'associationForeignKey' => 'gender_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'with' => 'ProductGender' ), 'Style' => array( 'className' => 'Style', 'joinTable' => 'product_styles', 'foreignKey' => 'product_id', 'associationForeignKey' => 'style_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'with' => 'ProductStyle' ), 'LensTreatment' => array( 'className' => 'LensTreatment', 'joinTable' => 'product_lens_treatments', 'foreignKey' => 'product_id', 'associationForeignKey' => 'lens_treatment_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'with' => 'ProductLensTreatment' ), 'Material' => array( 'className' => 'Material', 'joinTable' => 'product_materials', 'foreignKey' => 'product_id', 'associationForeignKey' => 'material_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'with' => 'ProductMaterial' ), 'FaceShape' => array( 'className' => 'FaceShape', 'joinTable' => 'product_face_shapes', 'foreignKey' => 'product_id', 'associationForeignKey' => 'face_shape_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'with' => 'ProductFaceShape' ) ) useDbConfig => 'default' useTable => 'products' id => false data => array() schemaName => '2031849_soyoptical' table => 'products' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Product' tableToModel => array( 'products' => 'Product', 'product_data' => 'ProductData', 'brands' => 'Brand' ) cacheQueries => false 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 recursive => (int) 1 order => null __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 ) ProductData => object(ProductData) { name => 'ProductData' actsAs => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'product_data' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'product_data' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'ProductData' 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 recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => null [protected] _validator => null } Brand => object(Brand) { name => 'Brand' useDbConfig => 'default' useTable => 'brands' id => (int) 55 data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'brands' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Brand' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'primary' ), 'brand_id' => array( 'type' => 'integer', 'null' => false, 'default' => '-1', 'length' => (int) 11, 'unsigned' => false ), 'type' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 1, 'unsigned' => false, 'comment' => '1:Aros de sol 2: Aros oftalmicos 3: Lentes de contacto 4:Accesorios aros de sol y oftalmicos 5:Accesorios de lentes de contacto ' ), 'sku' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'title' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'description' => array( 'type' => 'text', 'null' => false, 'default' => null, 'length' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'price' => array( 'type' => 'decimal', 'null' => false, 'default' => null, 'length' => '12,2', 'unsigned' => false ), 'price_offer' => array( 'type' => 'decimal', 'null' => false, 'default' => '0.00', 'length' => '12,2', 'unsigned' => false ), 'discount' => array( 'type' => 'decimal', 'null' => false, 'default' => '0.00', 'length' => '5,2', 'unsigned' => false ), 'loyalty' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 1, 'unsigned' => false ), 'price_loyalty' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '12,2', 'unsigned' => false ), 'discount_loyalty' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '12,2', 'unsigned' => false ), 'term_loyalty' => array( 'type' => 'string', 'null' => true, 'default' => null, 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'main' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 1, 'unsigned' => false ), 'notified' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 1, 'unsigned' => false ), 'is_new' => array( 'type' => 'boolean', 'null' => false, 'default' => '0', 'length' => (int) 1 ), 'best_seller' => array( 'type' => 'boolean', 'null' => false, 'default' => '0', 'length' => (int) 1 ), 'enabled' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 1, 'unsigned' => false ), 'deleted' => array( 'type' => 'boolean', 'null' => false, 'default' => '0', 'length' => (int) 1 ), 'created' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => false, '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() array()
$query['conditions'] = $conditions;
$this->paginate = $query;
$products = $this->paginate('Product');
'Product'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(OphthalmicController) { name => 'Ophthalmic' components => array( 'Session' => null, 'Cookie' => null, 'File' => null, 'Image' => null, 'Resize' => null ) helpers => array( 'Slug' => null, 'Functions' => null, 'Js' => array( (int) 0 => 'Jquery' ) ) uses => array( (int) 0 => 'Product', (int) 1 => 'ProductData', (int) 2 => 'AdjustmentInventory', (int) 3 => 'AdjustmentInventoryDetail', (int) 4 => 'Cellar', (int) 5 => 'ProductInventory', (int) 6 => 'Brand', (int) 7 => 'Gender', (int) 8 => 'Style', (int) 9 => 'Material', (int) 10 => 'LensTreatment', (int) 11 => 'FaceShape', (int) 12 => 'Color', (int) 13 => 'ProductColor', (int) 14 => 'ProductFaceShape', (int) 15 => 'ProductGender', (int) 16 => 'ProductLensTreatment', (int) 17 => 'ProductMaterial', (int) 18 => 'ProductStyle', (int) 19 => 'ProductSunglass', (int) 20 => 'Menu', (int) 21 => 'Duration', (int) 22 => 'VContactLen', (int) 23 => 'TopSlider', (int) 24 => 'Article', (int) 25 => 'NavBox', (int) 26 => 'Submenu', (int) 27 => 'Configuration' ) paginate => array( 'limit' => (int) 9, 'fields' => array( (int) 0 => 'Product.id', (int) 1 => 'Product.title', (int) 2 => 'Product.is_new', (int) 3 => 'Product.price', (int) 4 => 'Product.price_offer', (int) 5 => 'Product.discount' ), 'contain' => array( 'ProductData' => array( [maximum depth reached] ), 'Brand' => array( [maximum depth reached] ) ), 'order' => array( 'Product.created' => 'DESC', 'Product.id' => 'DESC' ), 'conditions' => array( 'Product.type' => (int) 2, 'Product.deleted' => (int) 0, 'Product.enabled' => (int) 1, 'Product.brand_id' => (int) 55, 'Product.id' => array( [maximum depth reached] ) ) ) productIdsWithStock => array( (int) 101 => '101', (int) 105 => '105', (int) 108 => '108', (int) 112 => '112', (int) 192 => '192', (int) 217 => '217', (int) 301 => '301', (int) 303 => '303', (int) 311 => '311', (int) 314 => '314', (int) 335 => '355', (int) 338 => '358', (int) 341 => '361', (int) 346 => '366', (int) 350 => '370', (int) 407 => '427', (int) 417 => '387', (int) 419 => '389', (int) 471 => '487', (int) 476 => '492', (int) 518 => '498', (int) 550 => '550', (int) 553 => '553', (int) 577 => '577', (int) 578 => '578', (int) 579 => '579', (int) 580 => '580', (int) 581 => '581', (int) 582 => '582', (int) 583 => '583', (int) 584 => '584', (int) 585 => '585', (int) 586 => '586', (int) 587 => '587', (int) 588 => '588', (int) 589 => '589', (int) 590 => '590', (int) 591 => '591', (int) 592 => '592', (int) 593 => '593', (int) 594 => '594', (int) 595 => '595', (int) 596 => '596', (int) 597 => '597', (int) 598 => '598', (int) 599 => '599', (int) 600 => '600', (int) 601 => '601', (int) 602 => '602', (int) 603 => '603', (int) 604 => '604', (int) 605 => '605', (int) 606 => '606', (int) 607 => '607', (int) 608 => '608', (int) 609 => '609', (int) 610 => '610', (int) 611 => '611', (int) 612 => '612', (int) 613 => '613', (int) 614 => '614', (int) 615 => '615', (int) 616 => '616', (int) 617 => '617', (int) 618 => '618', (int) 620 => '620', (int) 621 => '621', (int) 622 => '622', (int) 623 => '623', (int) 624 => '624', (int) 625 => '625', (int) 626 => '626', (int) 627 => '627', (int) 628 => '628', (int) 629 => '629', (int) 630 => '630', (int) 631 => '631', (int) 632 => '632', (int) 633 => '633', (int) 634 => '634', (int) 635 => '635', (int) 636 => '636', (int) 637 => '637', (int) 638 => '638', (int) 639 => '639', (int) 640 => '640', (int) 641 => '641', (int) 643 => '652', (int) 644 => '653', (int) 645 => '654', (int) 646 => '655', (int) 647 => '656', (int) 648 => '657', (int) 649 => '658', (int) 650 => '659', (int) 651 => '660', (int) 652 => '661', (int) 653 => '662', (int) 654 => '663', (int) 655 => '664', (int) 656 => '665', (int) 657 => '666', (int) 658 => '667', (int) 660 => '669', (int) 667 => '707', (int) 721 => '761', (int) 722 => '762', (int) 723 => '763', (int) 724 => '764', (int) 725 => '765', (int) 726 => '766', (int) 727 => '767', (int) 728 => '768', (int) 729 => '769', (int) 730 => '770', (int) 731 => '771', (int) 732 => '772', (int) 733 => '773', (int) 734 => '774', (int) 735 => '775', (int) 736 => '776', (int) 741 => '781', (int) 742 => '782', (int) 743 => '783', (int) 744 => '784', (int) 745 => '785', (int) 746 => '786', (int) 747 => '787', (int) 748 => '788', (int) 749 => '789', (int) 750 => '790', (int) 751 => '791', (int) 752 => '792', (int) 753 => '793', (int) 754 => '794', (int) 755 => '795', (int) 756 => '796', (int) 757 => '797', (int) 758 => '798', (int) 759 => '799', (int) 760 => '800', (int) 761 => '801', (int) 762 => '802', (int) 763 => '803', (int) 764 => '804', (int) 765 => '805', (int) 766 => '806', (int) 767 => '807', (int) 768 => '808', (int) 769 => '809', (int) 770 => '810', (int) 771 => '811', (int) 772 => '812', (int) 773 => '813', (int) 774 => '814', (int) 775 => '815', (int) 776 => '816', (int) 777 => '817', (int) 778 => '818', (int) 779 => '819', (int) 780 => '820', (int) 781 => '821', (int) 782 => '822', (int) 783 => '823', (int) 784 => '824', (int) 785 => '825', (int) 786 => '826', (int) 787 => '827', (int) 788 => '828', (int) 789 => '829', (int) 790 => '830', (int) 791 => '831', (int) 792 => '832', (int) 793 => '833', (int) 794 => '834', (int) 795 => '835', (int) 796 => '836', (int) 797 => '837', (int) 798 => '838', (int) 799 => '839', (int) 800 => '840', (int) 801 => '841', (int) 802 => '842', (int) 803 => '843', (int) 804 => '844', (int) 805 => '845', (int) 806 => '846', (int) 807 => '847', (int) 808 => '848', (int) 809 => '849', (int) 810 => '850', (int) 811 => '851', (int) 812 => '852', (int) 813 => '853', (int) 814 => '854', (int) 815 => '855', (int) 816 => '856', (int) 817 => '857', (int) 818 => '858', (int) 819 => '859', (int) 820 => '860', (int) 821 => '861', (int) 822 => '862', (int) 823 => '863', (int) 824 => '864', (int) 825 => '865', (int) 826 => '866', (int) 827 => '867', (int) 828 => '868', (int) 829 => '869', (int) 830 => '870', (int) 831 => '871', (int) 832 => '872', (int) 833 => '873', (int) 834 => '874', (int) 835 => '875', (int) 836 => '876', (int) 837 => '877', (int) 838 => '878', (int) 839 => '879', (int) 840 => '880', (int) 841 => '881', (int) 842 => '882', (int) 843 => '883', (int) 844 => '884', (int) 845 => '885', (int) 846 => '886', (int) 847 => '887', (int) 848 => '888', (int) 849 => '889', (int) 850 => '890', (int) 851 => '891', (int) 852 => '892', (int) 853 => '893', (int) 854 => '894', (int) 855 => '895', (int) 856 => '896', (int) 857 => '897', (int) 858 => '898', (int) 859 => '899', (int) 860 => '900', (int) 861 => '901', (int) 862 => '902', (int) 863 => '903', (int) 864 => '904', (int) 865 => '905', (int) 866 => '906', (int) 867 => '907', (int) 868 => '908', (int) 869 => '909', (int) 870 => '910', (int) 871 => '911', (int) 872 => '912', (int) 873 => '913', (int) 874 => '914', (int) 875 => '915', (int) 876 => '916', (int) 877 => '917', (int) 878 => '918', (int) 879 => '919', (int) 880 => '920', (int) 881 => '921', (int) 882 => '922', (int) 883 => '923', (int) 884 => '924', (int) 885 => '925', (int) 886 => '926', (int) 887 => '927', (int) 888 => '928', (int) 889 => '929', (int) 890 => '930', (int) 891 => '931', (int) 892 => '932', (int) 893 => '933', (int) 894 => '934', (int) 895 => '935', (int) 897 => '937', (int) 898 => '938', (int) 899 => '939', (int) 900 => '940', (int) 901 => '941', (int) 902 => '942', (int) 903 => '943', (int) 904 => '944', (int) 905 => '945', (int) 906 => '946', (int) 907 => '947', (int) 908 => '948', (int) 909 => '949', (int) 910 => '950', (int) 911 => '951', (int) 912 => '952', (int) 913 => '953', (int) 914 => '954', (int) 915 => '955', (int) 916 => '956', (int) 917 => '957', (int) 918 => '958', (int) 919 => '959', (int) 920 => '960', (int) 921 => '966', (int) 922 => '967', (int) 923 => '970', (int) 924 => '961', (int) 925 => '962', (int) 926 => '963', (int) 927 => '964', (int) 928 => '971', (int) 929 => '969', (int) 930 => '972', (int) 931 => '965', (int) 932 => '973', (int) 933 => '968', (int) 934 => '974', (int) 935 => '975', (int) 937 => '977', (int) 938 => '978', (int) 939 => '979', (int) 940 => '980', (int) 945 => '985', (int) 946 => '986', (int) 947 => '987', (int) 948 => '988', (int) 949 => '989', (int) 950 => '990', (int) 951 => '991', (int) 952 => '992', (int) 954 => '994', (int) 955 => '995', (int) 956 => '996', (int) 957 => '997', (int) 958 => '998', (int) 959 => '999', (int) 960 => '1000', (int) 961 => '1001', (int) 962 => '1002', (int) 963 => '1003', (int) 964 => '1004', (int) 965 => '1005', (int) 966 => '1006', (int) 967 => '1007', (int) 968 => '1008', (int) 969 => '1009', (int) 970 => '1010', (int) 971 => '1011', (int) 972 => '1012', (int) 973 => '1013', (int) 975 => '1015', (int) 976 => '1016', (int) 977 => '1017', (int) 978 => '1018', (int) 979 => '1019', (int) 981 => '1021', (int) 982 => '1022', (int) 983 => '1023', (int) 984 => '1024', (int) 985 => '1025', (int) 986 => '1026', (int) 987 => '1027', (int) 988 => '1028', (int) 989 => '1029', (int) 990 => '1030', (int) 991 => '1031', (int) 992 => '1032', (int) 993 => '1033', (int) 994 => '1034', (int) 995 => '1035', (int) 996 => '1036', (int) 997 => '1037', (int) 998 => '1038', (int) 999 => '1039', (int) 1000 => '1040', (int) 1001 => '1041', (int) 1002 => '1042', (int) 1003 => '1043', (int) 1004 => '1044', (int) 1005 => '1045', (int) 1006 => '1046', (int) 1007 => '1047', (int) 1008 => '1048', (int) 1009 => '1049' ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'Ophthalmic/index/page:2' base => '' webroot => '/' here => '/Ophthalmic/index/page:2' [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 => 'Ophthalmic' layoutPath => null viewVars => array( 'brandSelected' => (int) 55, 'brandTitle' => 'Ray Ban', 'articles' => 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] ) ), 'itemsInShoppingCart' => (int) 0, 'brandsToMenu' => array( 'sunGlass' => array( [maximum depth reached] ), 'ophthalmic' => array( [maximum depth reached] ), 'contactLens' => array( [maximum depth reached] ), 'accesories' => array([maximum depth reached]) ), 'instagramLink' => 'https://www.instagram.com/soyopticalgt/', 'facebookLink' => 'https://www.facebook.com/OpticalCenterFT' ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(OphthalmicController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( 'page' => '2' ) scaffold => false methods => array( (int) 1 => 'wpanel_index', (int) 2 => 'wpanel_add', (int) 3 => 'wpanel_edit', (int) 4 => 'wpanel_eliminate', (int) 5 => 'wpanel_changeStatus', (int) 6 => 'wpanel_changeMain', (int) 7 => 'wpanel_eliminateAssets', (int) 8 => 'wpanel_history', (int) 9 => 'wpanel_historyDetail', (int) 10 => 'wpanel_ingress', (int) 11 => 'wpanel_outlets', (int) 12 => 'wpanel_setProductToCart', (int) 13 => 'wpanel_delProductToCart', (int) 14 => 'wpanel_getProducts', (int) 15 => 'wpanel_getProduct', (int) 16 => 'wpanel_save', (int) 17 => 'wpanel_setBestSeller', (int) 18 => 'index', (int) 19 => 'detail', (int) 20 => 'accessories', (int) 21 => 'accessoryDetail', (int) 22 => 'getRecommendedProducts', (int) 23 => 'getRecommendedProductOphthalmics', (int) 24 => 'checkCustomerSession', (int) 25 => 'getProductsWithStock', (int) 26 => 'getProductsWithStockByCondition', (int) 27 => 'isExceedPostMaxSize' ) modelClass => 'Product' modelKey => 'ophthalmic' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qysdfgsdgdsgWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array( [maximum depth reached] ) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Image => object(ImageComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Resize => object(ResizeComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } ProductInventory => object(ProductInventory) { name => 'ProductInventory' useDbConfig => 'default' useTable => 'product_inventories' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'product_inventories' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'ProductInventory' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Product => object(Product) { actsAs => array( [maximum depth reached] ) name => 'Product' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) virtualFields => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'products' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Product' tableToModel => array( [maximum depth reached] ) cacheQueries => false Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null __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] ) ProductData => object(ProductData) {} Brand => object(Brand) {} [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 } Brand => object(Brand) { name => 'Brand' useDbConfig => 'default' useTable => 'brands' id => (int) 55 data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'brands' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Brand' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } VContactLen => object(VContactLen) { name => 'VContactLen' actsAs => array( [maximum depth reached] ) virtualFields => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'v_contact_lens' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'v_contact_lens' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'VContactLen' 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 recursive => (int) 1 order => null __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 } Article => object(AppModel) { useDbConfig => 'default' useTable => 'articles' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'articles' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Article' alias => 'Article' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Configuration => object(Configuration) { name => 'Configuration' useDbConfig => 'default' useTable => 'configurations' id => (int) 1 data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'configurations' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Configuration' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => 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()
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'Ophthalmic', 'action' => 'index', 'named' => array( 'page' => '2' ), 'pass' => array(), 'paging' => array( 'Product' => array( [maximum depth reached] ) ), 'models' => array( 'Menu' => array( [maximum depth reached] ), 'Gender' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Duration' => array( [maximum depth reached] ), 'VContactLen' => array( [maximum depth reached] ), 'TopSlider' => array( [maximum depth reached] ), 'Article' => array( [maximum depth reached] ), 'NavBox' => array( [maximum depth reached] ), 'ProductInventory' => array( [maximum depth reached] ), 'Submenu' => array( [maximum depth reached] ), 'Brand' => array( [maximum depth reached] ), 'Configuration' => array( [maximum depth reached] ), 'ProductData' => array( [maximum depth reached] ) ) ) data => array() query => array( 'brand' => '55' ) url => 'Ophthalmic/index/page:2' base => '' webroot => '/' here => '/Ophthalmic/index/page:2' [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(OphthalmicController) { name => 'Ophthalmic' components => array( 'Session' => null, 'Cookie' => null, 'File' => null, 'Image' => null, 'Resize' => null ) helpers => array( 'Slug' => null, 'Functions' => null, 'Js' => array( (int) 0 => 'Jquery' ) ) uses => array( (int) 0 => 'Product', (int) 1 => 'ProductData', (int) 2 => 'AdjustmentInventory', (int) 3 => 'AdjustmentInventoryDetail', (int) 4 => 'Cellar', (int) 5 => 'ProductInventory', (int) 6 => 'Brand', (int) 7 => 'Gender', (int) 8 => 'Style', (int) 9 => 'Material', (int) 10 => 'LensTreatment', (int) 11 => 'FaceShape', (int) 12 => 'Color', (int) 13 => 'ProductColor', (int) 14 => 'ProductFaceShape', (int) 15 => 'ProductGender', (int) 16 => 'ProductLensTreatment', (int) 17 => 'ProductMaterial', (int) 18 => 'ProductStyle', (int) 19 => 'ProductSunglass', (int) 20 => 'Menu', (int) 21 => 'Duration', (int) 22 => 'VContactLen', (int) 23 => 'TopSlider', (int) 24 => 'Article', (int) 25 => 'NavBox', (int) 26 => 'Submenu', (int) 27 => 'Configuration' ) paginate => array( 'limit' => (int) 9, 'fields' => array( (int) 0 => 'Product.id', (int) 1 => 'Product.title', (int) 2 => 'Product.is_new', (int) 3 => 'Product.price', (int) 4 => 'Product.price_offer', (int) 5 => 'Product.discount' ), 'contain' => array( 'ProductData' => array( [maximum depth reached] ), 'Brand' => array( [maximum depth reached] ) ), 'order' => array( 'Product.created' => 'DESC', 'Product.id' => 'DESC' ), 'conditions' => array( 'Product.type' => (int) 2, 'Product.deleted' => (int) 0, 'Product.enabled' => (int) 1, 'Product.brand_id' => (int) 55, 'Product.id' => array( [maximum depth reached] ) ) ) productIdsWithStock => array( (int) 101 => '101', (int) 105 => '105', (int) 108 => '108', (int) 112 => '112', (int) 192 => '192', (int) 217 => '217', (int) 301 => '301', (int) 303 => '303', (int) 311 => '311', (int) 314 => '314', (int) 335 => '355', (int) 338 => '358', (int) 341 => '361', (int) 346 => '366', (int) 350 => '370', (int) 407 => '427', (int) 417 => '387', (int) 419 => '389', (int) 471 => '487', (int) 476 => '492', (int) 518 => '498', (int) 550 => '550', (int) 553 => '553', (int) 577 => '577', (int) 578 => '578', (int) 579 => '579', (int) 580 => '580', (int) 581 => '581', (int) 582 => '582', (int) 583 => '583', (int) 584 => '584', (int) 585 => '585', (int) 586 => '586', (int) 587 => '587', (int) 588 => '588', (int) 589 => '589', (int) 590 => '590', (int) 591 => '591', (int) 592 => '592', (int) 593 => '593', (int) 594 => '594', (int) 595 => '595', (int) 596 => '596', (int) 597 => '597', (int) 598 => '598', (int) 599 => '599', (int) 600 => '600', (int) 601 => '601', (int) 602 => '602', (int) 603 => '603', (int) 604 => '604', (int) 605 => '605', (int) 606 => '606', (int) 607 => '607', (int) 608 => '608', (int) 609 => '609', (int) 610 => '610', (int) 611 => '611', (int) 612 => '612', (int) 613 => '613', (int) 614 => '614', (int) 615 => '615', (int) 616 => '616', (int) 617 => '617', (int) 618 => '618', (int) 620 => '620', (int) 621 => '621', (int) 622 => '622', (int) 623 => '623', (int) 624 => '624', (int) 625 => '625', (int) 626 => '626', (int) 627 => '627', (int) 628 => '628', (int) 629 => '629', (int) 630 => '630', (int) 631 => '631', (int) 632 => '632', (int) 633 => '633', (int) 634 => '634', (int) 635 => '635', (int) 636 => '636', (int) 637 => '637', (int) 638 => '638', (int) 639 => '639', (int) 640 => '640', (int) 641 => '641', (int) 643 => '652', (int) 644 => '653', (int) 645 => '654', (int) 646 => '655', (int) 647 => '656', (int) 648 => '657', (int) 649 => '658', (int) 650 => '659', (int) 651 => '660', (int) 652 => '661', (int) 653 => '662', (int) 654 => '663', (int) 655 => '664', (int) 656 => '665', (int) 657 => '666', (int) 658 => '667', (int) 660 => '669', (int) 667 => '707', (int) 721 => '761', (int) 722 => '762', (int) 723 => '763', (int) 724 => '764', (int) 725 => '765', (int) 726 => '766', (int) 727 => '767', (int) 728 => '768', (int) 729 => '769', (int) 730 => '770', (int) 731 => '771', (int) 732 => '772', (int) 733 => '773', (int) 734 => '774', (int) 735 => '775', (int) 736 => '776', (int) 741 => '781', (int) 742 => '782', (int) 743 => '783', (int) 744 => '784', (int) 745 => '785', (int) 746 => '786', (int) 747 => '787', (int) 748 => '788', (int) 749 => '789', (int) 750 => '790', (int) 751 => '791', (int) 752 => '792', (int) 753 => '793', (int) 754 => '794', (int) 755 => '795', (int) 756 => '796', (int) 757 => '797', (int) 758 => '798', (int) 759 => '799', (int) 760 => '800', (int) 761 => '801', (int) 762 => '802', (int) 763 => '803', (int) 764 => '804', (int) 765 => '805', (int) 766 => '806', (int) 767 => '807', (int) 768 => '808', (int) 769 => '809', (int) 770 => '810', (int) 771 => '811', (int) 772 => '812', (int) 773 => '813', (int) 774 => '814', (int) 775 => '815', (int) 776 => '816', (int) 777 => '817', (int) 778 => '818', (int) 779 => '819', (int) 780 => '820', (int) 781 => '821', (int) 782 => '822', (int) 783 => '823', (int) 784 => '824', (int) 785 => '825', (int) 786 => '826', (int) 787 => '827', (int) 788 => '828', (int) 789 => '829', (int) 790 => '830', (int) 791 => '831', (int) 792 => '832', (int) 793 => '833', (int) 794 => '834', (int) 795 => '835', (int) 796 => '836', (int) 797 => '837', (int) 798 => '838', (int) 799 => '839', (int) 800 => '840', (int) 801 => '841', (int) 802 => '842', (int) 803 => '843', (int) 804 => '844', (int) 805 => '845', (int) 806 => '846', (int) 807 => '847', (int) 808 => '848', (int) 809 => '849', (int) 810 => '850', (int) 811 => '851', (int) 812 => '852', (int) 813 => '853', (int) 814 => '854', (int) 815 => '855', (int) 816 => '856', (int) 817 => '857', (int) 818 => '858', (int) 819 => '859', (int) 820 => '860', (int) 821 => '861', (int) 822 => '862', (int) 823 => '863', (int) 824 => '864', (int) 825 => '865', (int) 826 => '866', (int) 827 => '867', (int) 828 => '868', (int) 829 => '869', (int) 830 => '870', (int) 831 => '871', (int) 832 => '872', (int) 833 => '873', (int) 834 => '874', (int) 835 => '875', (int) 836 => '876', (int) 837 => '877', (int) 838 => '878', (int) 839 => '879', (int) 840 => '880', (int) 841 => '881', (int) 842 => '882', (int) 843 => '883', (int) 844 => '884', (int) 845 => '885', (int) 846 => '886', (int) 847 => '887', (int) 848 => '888', (int) 849 => '889', (int) 850 => '890', (int) 851 => '891', (int) 852 => '892', (int) 853 => '893', (int) 854 => '894', (int) 855 => '895', (int) 856 => '896', (int) 857 => '897', (int) 858 => '898', (int) 859 => '899', (int) 860 => '900', (int) 861 => '901', (int) 862 => '902', (int) 863 => '903', (int) 864 => '904', (int) 865 => '905', (int) 866 => '906', (int) 867 => '907', (int) 868 => '908', (int) 869 => '909', (int) 870 => '910', (int) 871 => '911', (int) 872 => '912', (int) 873 => '913', (int) 874 => '914', (int) 875 => '915', (int) 876 => '916', (int) 877 => '917', (int) 878 => '918', (int) 879 => '919', (int) 880 => '920', (int) 881 => '921', (int) 882 => '922', (int) 883 => '923', (int) 884 => '924', (int) 885 => '925', (int) 886 => '926', (int) 887 => '927', (int) 888 => '928', (int) 889 => '929', (int) 890 => '930', (int) 891 => '931', (int) 892 => '932', (int) 893 => '933', (int) 894 => '934', (int) 895 => '935', (int) 897 => '937', (int) 898 => '938', (int) 899 => '939', (int) 900 => '940', (int) 901 => '941', (int) 902 => '942', (int) 903 => '943', (int) 904 => '944', (int) 905 => '945', (int) 906 => '946', (int) 907 => '947', (int) 908 => '948', (int) 909 => '949', (int) 910 => '950', (int) 911 => '951', (int) 912 => '952', (int) 913 => '953', (int) 914 => '954', (int) 915 => '955', (int) 916 => '956', (int) 917 => '957', (int) 918 => '958', (int) 919 => '959', (int) 920 => '960', (int) 921 => '966', (int) 922 => '967', (int) 923 => '970', (int) 924 => '961', (int) 925 => '962', (int) 926 => '963', (int) 927 => '964', (int) 928 => '971', (int) 929 => '969', (int) 930 => '972', (int) 931 => '965', (int) 932 => '973', (int) 933 => '968', (int) 934 => '974', (int) 935 => '975', (int) 937 => '977', (int) 938 => '978', (int) 939 => '979', (int) 940 => '980', (int) 945 => '985', (int) 946 => '986', (int) 947 => '987', (int) 948 => '988', (int) 949 => '989', (int) 950 => '990', (int) 951 => '991', (int) 952 => '992', (int) 954 => '994', (int) 955 => '995', (int) 956 => '996', (int) 957 => '997', (int) 958 => '998', (int) 959 => '999', (int) 960 => '1000', (int) 961 => '1001', (int) 962 => '1002', (int) 963 => '1003', (int) 964 => '1004', (int) 965 => '1005', (int) 966 => '1006', (int) 967 => '1007', (int) 968 => '1008', (int) 969 => '1009', (int) 970 => '1010', (int) 971 => '1011', (int) 972 => '1012', (int) 973 => '1013', (int) 975 => '1015', (int) 976 => '1016', (int) 977 => '1017', (int) 978 => '1018', (int) 979 => '1019', (int) 981 => '1021', (int) 982 => '1022', (int) 983 => '1023', (int) 984 => '1024', (int) 985 => '1025', (int) 986 => '1026', (int) 987 => '1027', (int) 988 => '1028', (int) 989 => '1029', (int) 990 => '1030', (int) 991 => '1031', (int) 992 => '1032', (int) 993 => '1033', (int) 994 => '1034', (int) 995 => '1035', (int) 996 => '1036', (int) 997 => '1037', (int) 998 => '1038', (int) 999 => '1039', (int) 1000 => '1040', (int) 1001 => '1041', (int) 1002 => '1042', (int) 1003 => '1043', (int) 1004 => '1044', (int) 1005 => '1045', (int) 1006 => '1046', (int) 1007 => '1047', (int) 1008 => '1048', (int) 1009 => '1049' ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array( [maximum depth reached] ) url => 'Ophthalmic/index/page:2' base => '' webroot => '/' here => '/Ophthalmic/index/page:2' [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 => 'Ophthalmic' layoutPath => null viewVars => array( 'brandSelected' => (int) 55, 'brandTitle' => 'Ray Ban', 'articles' => 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] ) ), 'itemsInShoppingCart' => (int) 0, 'brandsToMenu' => array( 'sunGlass' => array( [maximum depth reached] ), 'ophthalmic' => array( [maximum depth reached] ), 'contactLens' => array( [maximum depth reached] ), 'accesories' => array([maximum depth reached]) ), 'instagramLink' => 'https://www.instagram.com/soyopticalgt/', 'facebookLink' => 'https://www.facebook.com/OpticalCenterFT' ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(OphthalmicController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( 'page' => '2' ) scaffold => false methods => array( (int) 1 => 'wpanel_index', (int) 2 => 'wpanel_add', (int) 3 => 'wpanel_edit', (int) 4 => 'wpanel_eliminate', (int) 5 => 'wpanel_changeStatus', (int) 6 => 'wpanel_changeMain', (int) 7 => 'wpanel_eliminateAssets', (int) 8 => 'wpanel_history', (int) 9 => 'wpanel_historyDetail', (int) 10 => 'wpanel_ingress', (int) 11 => 'wpanel_outlets', (int) 12 => 'wpanel_setProductToCart', (int) 13 => 'wpanel_delProductToCart', (int) 14 => 'wpanel_getProducts', (int) 15 => 'wpanel_getProduct', (int) 16 => 'wpanel_save', (int) 17 => 'wpanel_setBestSeller', (int) 18 => 'index', (int) 19 => 'detail', (int) 20 => 'accessories', (int) 21 => 'accessoryDetail', (int) 22 => 'getRecommendedProducts', (int) 23 => 'getRecommendedProductOphthalmics', (int) 24 => 'checkCustomerSession', (int) 25 => 'getProductsWithStock', (int) 26 => 'getProductsWithStockByCondition', (int) 27 => 'isExceedPostMaxSize' ) modelClass => 'Product' modelKey => 'ophthalmic' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Cookie => object(CookieComponent) { name => 'CakeCookie' time => null path => '/' domain => '' secure => false key => 'DYhG93b0qysdfgsdgdsgWwvniR2G0FgaC9mi' httpOnly => false settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _values => array( [maximum depth reached] ) [protected] _type => 'cipher' [protected] _reset => null [protected] _expires => (int) 0 [protected] _response => object(CakeResponse) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } File => object(FileComponent) { components => array( [maximum depth reached] ) settings => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Image => object(ImageComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Resize => object(ResizeComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } ProductInventory => object(ProductInventory) { name => 'ProductInventory' useDbConfig => 'default' useTable => 'product_inventories' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'product_inventories' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'ProductInventory' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Product => object(Product) { actsAs => array( [maximum depth reached] ) name => 'Product' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) virtualFields => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'products' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Product' tableToModel => array( [maximum depth reached] ) cacheQueries => false Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null __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] ) ProductData => object(ProductData) {} Brand => object(Brand) {} [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 } Brand => object(Brand) { name => 'Brand' useDbConfig => 'default' useTable => 'brands' id => (int) 55 data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'brands' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Brand' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } VContactLen => object(VContactLen) { name => 'VContactLen' actsAs => array( [maximum depth reached] ) virtualFields => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'v_contact_lens' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'v_contact_lens' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'VContactLen' 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 recursive => (int) 1 order => null __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 } Article => object(AppModel) { useDbConfig => 'default' useTable => 'articles' id => false data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'articles' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null name => 'Article' alias => 'Article' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Configuration => object(Configuration) { name => 'Configuration' useDbConfig => 'default' useTable => 'configurations' id => (int) 1 data => array([maximum depth reached]) schemaName => '2031849_soyoptical' table => 'configurations' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Configuration' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => 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' => 'Ophthalmic', 'action' => 'index', 'named' => array( 'page' => '2' ), 'pass' => array(), 'paging' => array( 'Product' => array( [maximum depth reached] ) ), 'models' => array( 'Menu' => array( [maximum depth reached] ), 'Gender' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Duration' => array( [maximum depth reached] ), 'VContactLen' => array( [maximum depth reached] ), 'TopSlider' => array( [maximum depth reached] ), 'Article' => array( [maximum depth reached] ), 'NavBox' => array( [maximum depth reached] ), 'ProductInventory' => array( [maximum depth reached] ), 'Submenu' => array( [maximum depth reached] ), 'Brand' => array( [maximum depth reached] ), 'Configuration' => array( [maximum depth reached] ), 'ProductData' => array( [maximum depth reached] ) ) ) data => array() query => array( 'brand' => '55' ) url => 'Ophthalmic/index/page:2' base => '' webroot => '/' here => '/Ophthalmic/index/page:2' [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' => 'Ophthalmic', 'action' => 'index', 'named' => array( 'page' => '2' ), 'pass' => array(), 'paging' => array( 'Product' => array( [maximum depth reached] ) ), 'models' => array( 'Menu' => array( [maximum depth reached] ), 'Gender' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Duration' => array( [maximum depth reached] ), 'VContactLen' => array( [maximum depth reached] ), 'TopSlider' => array( [maximum depth reached] ), 'Article' => array( [maximum depth reached] ), 'NavBox' => array( [maximum depth reached] ), 'ProductInventory' => array( [maximum depth reached] ), 'Submenu' => array( [maximum depth reached] ), 'Brand' => array( [maximum depth reached] ), 'Configuration' => array( [maximum depth reached] ), 'ProductData' => array( [maximum depth reached] ) ) ) data => array() query => array( 'brand' => '55' ) url => 'Ophthalmic/index/page:2' base => '' webroot => '/' here => '/Ophthalmic/index/page:2' [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( 'Content-Security-Policy' => 'script-src 'self' 'unsafe-inline' 'unsafe-eval' www.googletagmanager.com www.google-analytics.com www.googleadservices.com www.google.com www.gstatic.com ajax.googleapis.com code.jquery.com cdnjs.cloudflare.com googleads.g.doubleclick.net connect.facebook.net opticasvision.co.cr unpkg.com cdn.jsdelivr.net widget.sirena.app translate.google.com translate.googleapis.com translate-pa.googleapis.com; object-src 'none';base-uri 'none';', 'Strict-Transport-Security' => 'max-age=63072000; includeSubDomains; preload', 'X-Frame-Options' => 'DENY' ) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }