throw new RuntimeException('Unable to locate an object compatible with paginate.'); |
|
} |
|
$settings = $settings + $this->paginate; |
|
|
|
return $this->Paginator->paginate($table, $settings); |
|
} |
|
|
|
/** |
|
* Method to check that an action is accessible from a URL. |
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Vw2.AID_NUM AS `Vw2__AID_NUM`, Vw2.ORGANIZATION_ID AS `Vw2__ORGANIZATION_ID`, Vw2.ORG_NAMES AS `Vw2__ORG_NAMES`, Vw2.POSITION_NUM AS `Vw2__POSITION_NUM`, Vw2.RANK AS `Vw2__RANK`, Vw2.REGISTRATION_NUM AS `Vw2__REGISTRATION_NUM`, Vw2.LAST_NAME AS `Vw2__LAST_NAME`, Vw2.FIRST_NAME AS `Vw2__FIRST_NAME`, Vw2.ASSIGNED_DATE AS `Vw2__ASSIGNED_DATE`, Vw2.YEAR AS `Vw2__YEAR`, Vw2.OWNER_TOTAL AS `Vw2__OWNER_TOTAL`, Vw2.FAMILY_TOTAL AS `Vw2__FAMILY_TOTAL`, Vw2.COUNT_APARTMENT_BUILDING AS `Vw2__COUNT_APARTMENT_BUILDING`, Vw2.COUNT_HOUSE_BUILDING AS `Vw2__COUNT_HOUSE_BUILDING`, Vw2.COUNT_COTTAGE_BUILDING AS `Vw2__COUNT_COTTAGE_BUILDING`, Vw2.COUNT_FENCE_HOUSE_BUILDING AS `Vw2__COUNT_FENCE_HOUSE_BUILDING`, Vw2.COUNT_SERVICE_BUILDING AS `Vw2__COUNT_SERVICE_BUILDING`, Vw2.COUNT_INDUSTRIAL_BUILDING AS `Vw2__COUNT_INDUSTRIAL_BUILDING`, Vw2.COUNT_OFFICE_BUILDING AS `Vw2__COUNT_OFFICE_BUILDING`, Vw2.COUNT_FARM_BUILDING AS `Vw2__COUNT_FARM_BUILDING`, Vw2.COUNT_HOME_BUILDING AS `Vw2__COUNT_HOME_BUILDING`, Vw2.COUNT_PARKING_BUILDING AS `Vw2__COUNT_PARKING_BUILDING`, Vw2.COUNT_AUTO_PARKING_BUILDING AS `Vw2__COUNT_AUTO_PARKING_BUILDING`, Vw2.COUNT_OTHER_BUILDING AS `Vw2__COUNT_OTHER_BUILDING`, Vw2.TOTAL_CONSTRUCTION_VALUE AS `Vw2__TOTAL_CONSTRUCTION_VALUE`, Vw2.TRANSPORTS AS `Vw2__TRANSPORTS`, Vw2.TRANSPORT_TOTAL_VALUE AS `Vw2__TRANSPORT_TOTAL_VALUE`, Vw2.ANIMALS AS `Vw2__ANIMALS`, Vw2.ANIMAL_TOTAL_VALUE AS `Vw2__ANIMAL_TOTAL_VALUE`, Vw2.LAND_TOTAL_VALUE AS `Vw2__LAND_TOTAL_VALUE`, Vw2.TOTAL_TREASURE_VALUE AS `Vw2__TOTAL_TREASURE_VALUE`, Vw2.SAVINGS_TOTAL AS `Vw2__SAVINGS_TOTAL`, Vw2.SAVINGS_MON_TOTAL AS `Vw2__SAVINGS_MON_TOTAL`, Vw2.SAVINGS_OTHER_TOTAL AS `Vw2__SAVINGS_OTHER_TOTAL`, Vw2.RECEIVABLE_TOTAL AS `Vw2__RECEIVABLE_TOTAL`, Vw2.LICENSES AS `Vw2__LICENSES`, Vw2.LICENSE_TOTAL_VALUE AS `Vw2__LICENSE_TOTAL_VALUE`, Vw2.STOCK_OWNER_NAME AS `Vw2__STOCK_OWNER_NAME`, Vw2.STOCK_COUNT AS `Vw2__STOCK_COUNT`, Vw2.STOCK_TOTAL_VALUE AS `Vw2__STOCK_TOTAL_VALUE`, Vw2.LENDERS AS `Vw2__LENDERS`, Vw2.LOAN_TOTAL_VALUE AS `Vw2__LOAN_TOTAL_VALUE`, Vw2.GIFT_NAMES AS `Vw2__GIFT_NAMES`, Vw2.GIFT_TOTAL_VALUE AS `Vw2__GIFT_TOTAL_VALUE`, Vw2.EMAIL AS `Vw2__EMAIL`, Vw2.NAME AS `Vw2__NAME`, Vw2.POSITION_NAME AS `Vw2__POSITION_NAME`, Vw2.DEAL AS `Vw2__DEAL`, Vw2.ROCIVILSERVICE AS `Vw2__ROCIVILSERVICE`, Vw2.COCIVILSERVICE_NUM AS `Vw2__COCIVILSERVICE_NUM`, Vw2.COCIVILSERVICE AS `Vw2__COCIVILSERVICE`, Vw2.LEND_NAMES AS `Vw2__LEND_NAMES`, Vw2.ART_NAMES AS `Vw2__ART_NAMES`, Vw2.MEMBERSHIP_NAMES AS `Vw2__MEMBERSHIP_NAMES`, Vw2.COUNT_DELEGATE AS `Vw2__COUNT_DELEGATE`, Vw2.COUNT_RELATION AS `Vw2__COUNT_RELATION`, Vw2.COUNT_INTEGRATE_INTEREST AS `Vw2__COUNT_INTEGRATE_INTEREST`, Vw2.TESTIMONY AS `Vw2__TESTIMONY`, Vw2.CHECKS AS `Vw2__CHECKS`, Vw2.OWNER_ALL_TOTAL AS `Vw2__OWNER_ALL_TOTAL`, Vw2.OWNER_SOLD_TOTAL AS `Vw2__OWNER_SOLD_TOTAL`, Vw2.COUNT_OTHER_SPRING AS `Vw2__COUNT_OTHER_SPRING`, Vw2.COUNT_OTHER_WELL AS `Vw2__COUNT_OTHER_WELL`, Vw2.COUNT_OTHER_HOUSE AS `Vw2__COUNT_OTHER_HOUSE`, Vw2.SAVINGS_CASH AS `Vw2__SAVINGS_CASH`, Vw2.SAVINGS_ALL AS `Vw2__SAVINGS_ALL`, Vw2.RECEIVABLE_BALANCE AS `Vw2__RECEIVABLE_BALANCE`, Vw2.LOAN_TOTAL_BALANCE AS `Vw2__LOAN_TOTAL_BALANCE`, Vw2.GIFT_TYPE AS `Vw2__GIFT_TYPE`, Vw2.ORGNAME AS `Vw2__ORGNAME` FROM vw2 Vw2 WHERE Vw2.FIRST_NAME like :c0 ORDER BY Vw2.FIRST_NAME asc LIMIT 10 OFFSET 10', 'params' => [ ':c0' => [ 'value' => '%Раднаасэд%', 'type' => 'string', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'Vw2__AID_NUM' => 'string', 'Vw2.AID_NUM' => 'string', 'AID_NUM' => 'string', 'Vw2__ORGANIZATION_ID' => 'integer', 'Vw2.ORGANIZATION_ID' => 'integer', 'ORGANIZATION_ID' => 'integer', 'Vw2__ORG_NAMES' => 'string', 'Vw2.ORG_NAMES' => 'string', 'ORG_NAMES' => 'string', 'Vw2__POSITION_NUM' => 'integer', 'Vw2.POSITION_NUM' => 'integer', 'POSITION_NUM' => 'integer', 'Vw2__RANK' => 'integer', 'Vw2.RANK' => 'integer', 'RANK' => 'integer', 'Vw2__REGISTRATION_NUM' => 'string', 'Vw2.REGISTRATION_NUM' => 'string', 'REGISTRATION_NUM' => 'string', 'Vw2__LAST_NAME' => 'string', 'Vw2.LAST_NAME' => 'string', 'LAST_NAME' => 'string', 'Vw2__FIRST_NAME' => 'string', 'Vw2.FIRST_NAME' => 'string', 'FIRST_NAME' => 'string', 'Vw2__ASSIGNED_DATE' => 'date', 'Vw2.ASSIGNED_DATE' => 'date', 'ASSIGNED_DATE' => 'date', 'Vw2__YEAR' => 'integer', 'Vw2.YEAR' => 'integer', 'YEAR' => 'integer', 'Vw2__OWNER_TOTAL' => 'decimal', 'Vw2.OWNER_TOTAL' => 'decimal', 'OWNER_TOTAL' => 'decimal', 'Vw2__FAMILY_TOTAL' => 'decimal', 'Vw2.FAMILY_TOTAL' => 'decimal', 'FAMILY_TOTAL' => 'decimal', 'Vw2__COUNT_APARTMENT_BUILDING' => 'integer', 'Vw2.COUNT_APARTMENT_BUILDING' => 'integer', 'COUNT_APARTMENT_BUILDING' => 'integer', 'Vw2__COUNT_HOUSE_BUILDING' => 'integer', 'Vw2.COUNT_HOUSE_BUILDING' => 'integer', 'COUNT_HOUSE_BUILDING' => 'integer', 'Vw2__COUNT_COTTAGE_BUILDING' => 'integer', 'Vw2.COUNT_COTTAGE_BUILDING' => 'integer', 'COUNT_COTTAGE_BUILDING' => 'integer', 'Vw2__COUNT_FENCE_HOUSE_BUILDING' => 'integer', 'Vw2.COUNT_FENCE_HOUSE_BUILDING' => 'integer', 'COUNT_FENCE_HOUSE_BUILDING' => 'integer', 'Vw2__COUNT_SERVICE_BUILDING' => 'integer', 'Vw2.COUNT_SERVICE_BUILDING' => 'integer', 'COUNT_SERVICE_BUILDING' => 'integer', 'Vw2__COUNT_INDUSTRIAL_BUILDING' => 'integer', 'Vw2.COUNT_INDUSTRIAL_BUILDING' => 'integer', 'COUNT_INDUSTRIAL_BUILDING' => 'integer', 'Vw2__COUNT_OFFICE_BUILDING' => 'integer', 'Vw2.COUNT_OFFICE_BUILDING' => 'integer', 'COUNT_OFFICE_BUILDING' => 'integer', 'Vw2__COUNT_FARM_BUILDING' => 'integer', 'Vw2.COUNT_FARM_BUILDING' => 'integer', 'COUNT_FARM_BUILDING' => 'integer', 'Vw2__COUNT_HOME_BUILDING' => 'integer', 'Vw2.COUNT_HOME_BUILDING' => 'integer', 'COUNT_HOME_BUILDING' => 'integer', 'Vw2__COUNT_PARKING_BUILDING' => 'integer', 'Vw2.COUNT_PARKING_BUILDING' => 'integer', 'COUNT_PARKING_BUILDING' => 'integer', 'Vw2__COUNT_AUTO_PARKING_BUILDING' => 'integer', 'Vw2.COUNT_AUTO_PARKING_BUILDING' => 'integer', 'COUNT_AUTO_PARKING_BUILDING' => 'integer', 'Vw2__COUNT_OTHER_BUILDING' => 'integer', 'Vw2.COUNT_OTHER_BUILDING' => 'integer', 'COUNT_OTHER_BUILDING' => 'integer', 'Vw2__TOTAL_CONSTRUCTION_VALUE' => 'decimal', 'Vw2.TOTAL_CONSTRUCTION_VALUE' => 'decimal', 'TOTAL_CONSTRUCTION_VALUE' => 'decimal', 'Vw2__TRANSPORTS' => 'string', 'Vw2.TRANSPORTS' => 'string', 'TRANSPORTS' => 'string', 'Vw2__TRANSPORT_TOTAL_VALUE' => 'decimal', 'Vw2.TRANSPORT_TOTAL_VALUE' => 'decimal', 'TRANSPORT_TOTAL_VALUE' => 'decimal', 'Vw2__ANIMALS' => 'string', 'Vw2.ANIMALS' => 'string', 'ANIMALS' => 'string', 'Vw2__ANIMAL_TOTAL_VALUE' => 'decimal', 'Vw2.ANIMAL_TOTAL_VALUE' => 'decimal', 'ANIMAL_TOTAL_VALUE' => 'decimal', 'Vw2__LAND_TOTAL_VALUE' => 'decimal', 'Vw2.LAND_TOTAL_VALUE' => 'decimal', 'LAND_TOTAL_VALUE' => 'decimal', 'Vw2__TOTAL_TREASURE_VALUE' => 'string', 'Vw2.TOTAL_TREASURE_VALUE' => 'string', 'TOTAL_TREASURE_VALUE' => 'string', 'Vw2__SAVINGS_TOTAL' => 'decimal', 'Vw2.SAVINGS_TOTAL' => 'decimal', 'SAVINGS_TOTAL' => 'decimal', 'Vw2__SAVINGS_MON_TOTAL' => 'decimal', 'Vw2.SAVINGS_MON_TOTAL' => 'decimal', 'SAVINGS_MON_TOTAL' => 'decimal', 'Vw2__SAVINGS_OTHER_TOTAL' => 'decimal', 'Vw2.SAVINGS_OTHER_TOTAL' => 'decimal', 'SAVINGS_OTHER_TOTAL' => 'decimal', 'Vw2__RECEIVABLE_TOTAL' => 'decimal', 'Vw2.RECEIVABLE_TOTAL' => 'decimal', 'RECEIVABLE_TOTAL' => 'decimal', 'Vw2__LICENSES' => 'string', 'Vw2.LICENSES' => 'string', 'LICENSES' => 'string', 'Vw2__LICENSE_TOTAL_VALUE' => 'string', 'Vw2.LICENSE_TOTAL_VALUE' => 'string', 'LICENSE_TOTAL_VALUE' => 'string', 'Vw2__STOCK_OWNER_NAME' => 'string', 'Vw2.STOCK_OWNER_NAME' => 'string', 'STOCK_OWNER_NAME' => 'string', 'Vw2__STOCK_COUNT' => 'string', 'Vw2.STOCK_COUNT' => 'string', 'STOCK_COUNT' => 'string', 'Vw2__STOCK_TOTAL_VALUE' => 'decimal', 'Vw2.STOCK_TOTAL_VALUE' => 'decimal', 'STOCK_TOTAL_VALUE' => 'decimal', 'Vw2__LENDERS' => 'string', 'Vw2.LENDERS' => 'string', 'LENDERS' => 'string', 'Vw2__LOAN_TOTAL_VALUE' => 'decimal', 'Vw2.LOAN_TOTAL_VALUE' => 'decimal', 'LOAN_TOTAL_VALUE' => 'decimal', 'Vw2__GIFT_NAMES' => 'text', 'Vw2.GIFT_NAMES' => 'text', 'GIFT_NAMES' => 'text', 'Vw2__GIFT_TOTAL_VALUE' => 'decimal', 'Vw2.GIFT_TOTAL_VALUE' => 'decimal', 'GIFT_TOTAL_VALUE' => 'decimal', 'Vw2__EMAIL' => 'string', 'Vw2.EMAIL' => 'string', 'EMAIL' => 'string', 'Vw2__NAME' => 'string', 'Vw2.NAME' => 'string', 'NAME' => 'string', 'Vw2__POSITION_NAME' => 'string', 'Vw2.POSITION_NAME' => 'string', 'POSITION_NAME' => 'string', 'Vw2__DEAL' => 'string', 'Vw2.DEAL' => 'string', 'DEAL' => 'string', 'Vw2__ROCIVILSERVICE' => 'string', 'Vw2.ROCIVILSERVICE' => 'string', 'ROCIVILSERVICE' => 'string', 'Vw2__COCIVILSERVICE_NUM' => 'integer', 'Vw2.COCIVILSERVICE_NUM' => 'integer', 'COCIVILSERVICE_NUM' => 'integer', 'Vw2__COCIVILSERVICE' => 'string', 'Vw2.COCIVILSERVICE' => 'string', 'COCIVILSERVICE' => 'string', 'Vw2__LEND_NAMES' => 'string', 'Vw2.LEND_NAMES' => 'string', 'LEND_NAMES' => 'string', 'Vw2__ART_NAMES' => 'string', 'Vw2.ART_NAMES' => 'string', 'ART_NAMES' => 'string', 'Vw2__MEMBERSHIP_NAMES' => 'string', 'Vw2.MEMBERSHIP_NAMES' => 'string', 'MEMBERSHIP_NAMES' => 'string', 'Vw2__COUNT_DELEGATE' => 'string', 'Vw2.COUNT_DELEGATE' => 'string', 'COUNT_DELEGATE' => 'string', 'Vw2__COUNT_RELATION' => 'string', 'Vw2.COUNT_RELATION' => 'string', 'COUNT_RELATION' => 'string', 'Vw2__COUNT_INTEGRATE_INTEREST' => 'string', 'Vw2.COUNT_INTEGRATE_INTEREST' => 'string', 'COUNT_INTEGRATE_INTEREST' => 'string', 'Vw2__TESTIMONY' => 'string', 'Vw2.TESTIMONY' => 'string', 'TESTIMONY' => 'string', 'Vw2__CHECKS' => 'string', 'Vw2.CHECKS' => 'string', 'CHECKS' => 'string', 'Vw2__OWNER_ALL_TOTAL' => 'decimal', 'Vw2.OWNER_ALL_TOTAL' => 'decimal', 'OWNER_ALL_TOTAL' => 'decimal', 'Vw2__OWNER_SOLD_TOTAL' => 'decimal', 'Vw2.OWNER_SOLD_TOTAL' => 'decimal', 'OWNER_SOLD_TOTAL' => 'decimal', 'Vw2__COUNT_OTHER_SPRING' => 'integer', 'Vw2.COUNT_OTHER_SPRING' => 'integer', 'COUNT_OTHER_SPRING' => 'integer', 'Vw2__COUNT_OTHER_WELL' => 'integer', 'Vw2.COUNT_OTHER_WELL' => 'integer', 'COUNT_OTHER_WELL' => 'integer', 'Vw2__COUNT_OTHER_HOUSE' => 'integer', 'Vw2.COUNT_OTHER_HOUSE' => 'integer', 'COUNT_OTHER_HOUSE' => 'integer', 'Vw2__SAVINGS_CASH' => 'decimal', 'Vw2.SAVINGS_CASH' => 'decimal', 'SAVINGS_CASH' => 'decimal', 'Vw2__SAVINGS_ALL' => 'decimal', 'Vw2.SAVINGS_ALL' => 'decimal', 'SAVINGS_ALL' => 'decimal', 'Vw2__RECEIVABLE_BALANCE' => 'decimal', 'Vw2.RECEIVABLE_BALANCE' => 'decimal', 'RECEIVABLE_BALANCE' => 'decimal', 'Vw2__LOAN_TOTAL_BALANCE' => 'decimal', 'Vw2.LOAN_TOTAL_BALANCE' => 'decimal', 'LOAN_TOTAL_BALANCE' => 'decimal', 'Vw2__GIFT_TYPE' => 'string', 'Vw2.GIFT_TYPE' => 'string', 'GIFT_TYPE' => 'string', 'Vw2__ORGNAME' => 'string', 'Vw2.ORGNAME' => 'string', 'ORGNAME' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [ 'first_name' => 'Раднаасэд', 'last_name' => '', 'org_id' => '', 'org_names' => '', 'position_name' => '', 'year' => '', 'scope' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\Vw2Table) { 'registryAlias' => 'Vw2', 'table' => 'vw2', 'alias' => 'Vw2', 'entityClass' => 'App\Model\Entity\Vw2', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } } [ 'limit' => (int) 10 ]
|
|
$this->reportList = TableRegistry::get('Vw2');
|
|
$this->Prg->commonProcess('reportList', array('tableMethod' => 'validateSearch'));
|
|
|
|
$this->set('reports', $this->paginate($this->reportList->find('searchable', $this->Prg->parsedParams())->order(['Vw2.FIRST_NAME'=>'ASC'])));
|
|
$this->set('_serialize', ['reports']);
|
|
}
|
|
|
|
public function xacxomview()
|
object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SELECT Vw2.AID_NUM AS `Vw2__AID_NUM`, Vw2.ORGANIZATION_ID AS `Vw2__ORGANIZATION_ID`, Vw2.ORG_NAMES AS `Vw2__ORG_NAMES`, Vw2.POSITION_NUM AS `Vw2__POSITION_NUM`, Vw2.RANK AS `Vw2__RANK`, Vw2.REGISTRATION_NUM AS `Vw2__REGISTRATION_NUM`, Vw2.LAST_NAME AS `Vw2__LAST_NAME`, Vw2.FIRST_NAME AS `Vw2__FIRST_NAME`, Vw2.ASSIGNED_DATE AS `Vw2__ASSIGNED_DATE`, Vw2.YEAR AS `Vw2__YEAR`, Vw2.OWNER_TOTAL AS `Vw2__OWNER_TOTAL`, Vw2.FAMILY_TOTAL AS `Vw2__FAMILY_TOTAL`, Vw2.COUNT_APARTMENT_BUILDING AS `Vw2__COUNT_APARTMENT_BUILDING`, Vw2.COUNT_HOUSE_BUILDING AS `Vw2__COUNT_HOUSE_BUILDING`, Vw2.COUNT_COTTAGE_BUILDING AS `Vw2__COUNT_COTTAGE_BUILDING`, Vw2.COUNT_FENCE_HOUSE_BUILDING AS `Vw2__COUNT_FENCE_HOUSE_BUILDING`, Vw2.COUNT_SERVICE_BUILDING AS `Vw2__COUNT_SERVICE_BUILDING`, Vw2.COUNT_INDUSTRIAL_BUILDING AS `Vw2__COUNT_INDUSTRIAL_BUILDING`, Vw2.COUNT_OFFICE_BUILDING AS `Vw2__COUNT_OFFICE_BUILDING`, Vw2.COUNT_FARM_BUILDING AS `Vw2__COUNT_FARM_BUILDING`, Vw2.COUNT_HOME_BUILDING AS `Vw2__COUNT_HOME_BUILDING`, Vw2.COUNT_PARKING_BUILDING AS `Vw2__COUNT_PARKING_BUILDING`, Vw2.COUNT_AUTO_PARKING_BUILDING AS `Vw2__COUNT_AUTO_PARKING_BUILDING`, Vw2.COUNT_OTHER_BUILDING AS `Vw2__COUNT_OTHER_BUILDING`, Vw2.TOTAL_CONSTRUCTION_VALUE AS `Vw2__TOTAL_CONSTRUCTION_VALUE`, Vw2.TRANSPORTS AS `Vw2__TRANSPORTS`, Vw2.TRANSPORT_TOTAL_VALUE AS `Vw2__TRANSPORT_TOTAL_VALUE`, Vw2.ANIMALS AS `Vw2__ANIMALS`, Vw2.ANIMAL_TOTAL_VALUE AS `Vw2__ANIMAL_TOTAL_VALUE`, Vw2.LAND_TOTAL_VALUE AS `Vw2__LAND_TOTAL_VALUE`, Vw2.TOTAL_TREASURE_VALUE AS `Vw2__TOTAL_TREASURE_VALUE`, Vw2.SAVINGS_TOTAL AS `Vw2__SAVINGS_TOTAL`, Vw2.SAVINGS_MON_TOTAL AS `Vw2__SAVINGS_MON_TOTAL`, Vw2.SAVINGS_OTHER_TOTAL AS `Vw2__SAVINGS_OTHER_TOTAL`, Vw2.RECEIVABLE_TOTAL AS `Vw2__RECEIVABLE_TOTAL`, Vw2.LICENSES AS `Vw2__LICENSES`, Vw2.LICENSE_TOTAL_VALUE AS `Vw2__LICENSE_TOTAL_VALUE`, Vw2.STOCK_OWNER_NAME AS `Vw2__STOCK_OWNER_NAME`, Vw2.STOCK_COUNT AS `Vw2__STOCK_COUNT`, Vw2.STOCK_TOTAL_VALUE AS `Vw2__STOCK_TOTAL_VALUE`, Vw2.LENDERS AS `Vw2__LENDERS`, Vw2.LOAN_TOTAL_VALUE AS `Vw2__LOAN_TOTAL_VALUE`, Vw2.GIFT_NAMES AS `Vw2__GIFT_NAMES`, Vw2.GIFT_TOTAL_VALUE AS `Vw2__GIFT_TOTAL_VALUE`, Vw2.EMAIL AS `Vw2__EMAIL`, Vw2.NAME AS `Vw2__NAME`, Vw2.POSITION_NAME AS `Vw2__POSITION_NAME`, Vw2.DEAL AS `Vw2__DEAL`, Vw2.ROCIVILSERVICE AS `Vw2__ROCIVILSERVICE`, Vw2.COCIVILSERVICE_NUM AS `Vw2__COCIVILSERVICE_NUM`, Vw2.COCIVILSERVICE AS `Vw2__COCIVILSERVICE`, Vw2.LEND_NAMES AS `Vw2__LEND_NAMES`, Vw2.ART_NAMES AS `Vw2__ART_NAMES`, Vw2.MEMBERSHIP_NAMES AS `Vw2__MEMBERSHIP_NAMES`, Vw2.COUNT_DELEGATE AS `Vw2__COUNT_DELEGATE`, Vw2.COUNT_RELATION AS `Vw2__COUNT_RELATION`, Vw2.COUNT_INTEGRATE_INTEREST AS `Vw2__COUNT_INTEGRATE_INTEREST`, Vw2.TESTIMONY AS `Vw2__TESTIMONY`, Vw2.CHECKS AS `Vw2__CHECKS`, Vw2.OWNER_ALL_TOTAL AS `Vw2__OWNER_ALL_TOTAL`, Vw2.OWNER_SOLD_TOTAL AS `Vw2__OWNER_SOLD_TOTAL`, Vw2.COUNT_OTHER_SPRING AS `Vw2__COUNT_OTHER_SPRING`, Vw2.COUNT_OTHER_WELL AS `Vw2__COUNT_OTHER_WELL`, Vw2.COUNT_OTHER_HOUSE AS `Vw2__COUNT_OTHER_HOUSE`, Vw2.SAVINGS_CASH AS `Vw2__SAVINGS_CASH`, Vw2.SAVINGS_ALL AS `Vw2__SAVINGS_ALL`, Vw2.RECEIVABLE_BALANCE AS `Vw2__RECEIVABLE_BALANCE`, Vw2.LOAN_TOTAL_BALANCE AS `Vw2__LOAN_TOTAL_BALANCE`, Vw2.GIFT_TYPE AS `Vw2__GIFT_TYPE`, Vw2.ORGNAME AS `Vw2__ORGNAME` FROM vw2 Vw2 WHERE Vw2.FIRST_NAME like :c0 ORDER BY Vw2.FIRST_NAME asc LIMIT 10 OFFSET 10', 'params' => [ ':c0' => [ 'value' => '%Раднаасэд%', 'type' => 'string', 'placeholder' => 'c0' ] ], 'defaultTypes' => [ 'Vw2__AID_NUM' => 'string', 'Vw2.AID_NUM' => 'string', 'AID_NUM' => 'string', 'Vw2__ORGANIZATION_ID' => 'integer', 'Vw2.ORGANIZATION_ID' => 'integer', 'ORGANIZATION_ID' => 'integer', 'Vw2__ORG_NAMES' => 'string', 'Vw2.ORG_NAMES' => 'string', 'ORG_NAMES' => 'string', 'Vw2__POSITION_NUM' => 'integer', 'Vw2.POSITION_NUM' => 'integer', 'POSITION_NUM' => 'integer', 'Vw2__RANK' => 'integer', 'Vw2.RANK' => 'integer', 'RANK' => 'integer', 'Vw2__REGISTRATION_NUM' => 'string', 'Vw2.REGISTRATION_NUM' => 'string', 'REGISTRATION_NUM' => 'string', 'Vw2__LAST_NAME' => 'string', 'Vw2.LAST_NAME' => 'string', 'LAST_NAME' => 'string', 'Vw2__FIRST_NAME' => 'string', 'Vw2.FIRST_NAME' => 'string', 'FIRST_NAME' => 'string', 'Vw2__ASSIGNED_DATE' => 'date', 'Vw2.ASSIGNED_DATE' => 'date', 'ASSIGNED_DATE' => 'date', 'Vw2__YEAR' => 'integer', 'Vw2.YEAR' => 'integer', 'YEAR' => 'integer', 'Vw2__OWNER_TOTAL' => 'decimal', 'Vw2.OWNER_TOTAL' => 'decimal', 'OWNER_TOTAL' => 'decimal', 'Vw2__FAMILY_TOTAL' => 'decimal', 'Vw2.FAMILY_TOTAL' => 'decimal', 'FAMILY_TOTAL' => 'decimal', 'Vw2__COUNT_APARTMENT_BUILDING' => 'integer', 'Vw2.COUNT_APARTMENT_BUILDING' => 'integer', 'COUNT_APARTMENT_BUILDING' => 'integer', 'Vw2__COUNT_HOUSE_BUILDING' => 'integer', 'Vw2.COUNT_HOUSE_BUILDING' => 'integer', 'COUNT_HOUSE_BUILDING' => 'integer', 'Vw2__COUNT_COTTAGE_BUILDING' => 'integer', 'Vw2.COUNT_COTTAGE_BUILDING' => 'integer', 'COUNT_COTTAGE_BUILDING' => 'integer', 'Vw2__COUNT_FENCE_HOUSE_BUILDING' => 'integer', 'Vw2.COUNT_FENCE_HOUSE_BUILDING' => 'integer', 'COUNT_FENCE_HOUSE_BUILDING' => 'integer', 'Vw2__COUNT_SERVICE_BUILDING' => 'integer', 'Vw2.COUNT_SERVICE_BUILDING' => 'integer', 'COUNT_SERVICE_BUILDING' => 'integer', 'Vw2__COUNT_INDUSTRIAL_BUILDING' => 'integer', 'Vw2.COUNT_INDUSTRIAL_BUILDING' => 'integer', 'COUNT_INDUSTRIAL_BUILDING' => 'integer', 'Vw2__COUNT_OFFICE_BUILDING' => 'integer', 'Vw2.COUNT_OFFICE_BUILDING' => 'integer', 'COUNT_OFFICE_BUILDING' => 'integer', 'Vw2__COUNT_FARM_BUILDING' => 'integer', 'Vw2.COUNT_FARM_BUILDING' => 'integer', 'COUNT_FARM_BUILDING' => 'integer', 'Vw2__COUNT_HOME_BUILDING' => 'integer', 'Vw2.COUNT_HOME_BUILDING' => 'integer', 'COUNT_HOME_BUILDING' => 'integer', 'Vw2__COUNT_PARKING_BUILDING' => 'integer', 'Vw2.COUNT_PARKING_BUILDING' => 'integer', 'COUNT_PARKING_BUILDING' => 'integer', 'Vw2__COUNT_AUTO_PARKING_BUILDING' => 'integer', 'Vw2.COUNT_AUTO_PARKING_BUILDING' => 'integer', 'COUNT_AUTO_PARKING_BUILDING' => 'integer', 'Vw2__COUNT_OTHER_BUILDING' => 'integer', 'Vw2.COUNT_OTHER_BUILDING' => 'integer', 'COUNT_OTHER_BUILDING' => 'integer', 'Vw2__TOTAL_CONSTRUCTION_VALUE' => 'decimal', 'Vw2.TOTAL_CONSTRUCTION_VALUE' => 'decimal', 'TOTAL_CONSTRUCTION_VALUE' => 'decimal', 'Vw2__TRANSPORTS' => 'string', 'Vw2.TRANSPORTS' => 'string', 'TRANSPORTS' => 'string', 'Vw2__TRANSPORT_TOTAL_VALUE' => 'decimal', 'Vw2.TRANSPORT_TOTAL_VALUE' => 'decimal', 'TRANSPORT_TOTAL_VALUE' => 'decimal', 'Vw2__ANIMALS' => 'string', 'Vw2.ANIMALS' => 'string', 'ANIMALS' => 'string', 'Vw2__ANIMAL_TOTAL_VALUE' => 'decimal', 'Vw2.ANIMAL_TOTAL_VALUE' => 'decimal', 'ANIMAL_TOTAL_VALUE' => 'decimal', 'Vw2__LAND_TOTAL_VALUE' => 'decimal', 'Vw2.LAND_TOTAL_VALUE' => 'decimal', 'LAND_TOTAL_VALUE' => 'decimal', 'Vw2__TOTAL_TREASURE_VALUE' => 'string', 'Vw2.TOTAL_TREASURE_VALUE' => 'string', 'TOTAL_TREASURE_VALUE' => 'string', 'Vw2__SAVINGS_TOTAL' => 'decimal', 'Vw2.SAVINGS_TOTAL' => 'decimal', 'SAVINGS_TOTAL' => 'decimal', 'Vw2__SAVINGS_MON_TOTAL' => 'decimal', 'Vw2.SAVINGS_MON_TOTAL' => 'decimal', 'SAVINGS_MON_TOTAL' => 'decimal', 'Vw2__SAVINGS_OTHER_TOTAL' => 'decimal', 'Vw2.SAVINGS_OTHER_TOTAL' => 'decimal', 'SAVINGS_OTHER_TOTAL' => 'decimal', 'Vw2__RECEIVABLE_TOTAL' => 'decimal', 'Vw2.RECEIVABLE_TOTAL' => 'decimal', 'RECEIVABLE_TOTAL' => 'decimal', 'Vw2__LICENSES' => 'string', 'Vw2.LICENSES' => 'string', 'LICENSES' => 'string', 'Vw2__LICENSE_TOTAL_VALUE' => 'string', 'Vw2.LICENSE_TOTAL_VALUE' => 'string', 'LICENSE_TOTAL_VALUE' => 'string', 'Vw2__STOCK_OWNER_NAME' => 'string', 'Vw2.STOCK_OWNER_NAME' => 'string', 'STOCK_OWNER_NAME' => 'string', 'Vw2__STOCK_COUNT' => 'string', 'Vw2.STOCK_COUNT' => 'string', 'STOCK_COUNT' => 'string', 'Vw2__STOCK_TOTAL_VALUE' => 'decimal', 'Vw2.STOCK_TOTAL_VALUE' => 'decimal', 'STOCK_TOTAL_VALUE' => 'decimal', 'Vw2__LENDERS' => 'string', 'Vw2.LENDERS' => 'string', 'LENDERS' => 'string', 'Vw2__LOAN_TOTAL_VALUE' => 'decimal', 'Vw2.LOAN_TOTAL_VALUE' => 'decimal', 'LOAN_TOTAL_VALUE' => 'decimal', 'Vw2__GIFT_NAMES' => 'text', 'Vw2.GIFT_NAMES' => 'text', 'GIFT_NAMES' => 'text', 'Vw2__GIFT_TOTAL_VALUE' => 'decimal', 'Vw2.GIFT_TOTAL_VALUE' => 'decimal', 'GIFT_TOTAL_VALUE' => 'decimal', 'Vw2__EMAIL' => 'string', 'Vw2.EMAIL' => 'string', 'EMAIL' => 'string', 'Vw2__NAME' => 'string', 'Vw2.NAME' => 'string', 'NAME' => 'string', 'Vw2__POSITION_NAME' => 'string', 'Vw2.POSITION_NAME' => 'string', 'POSITION_NAME' => 'string', 'Vw2__DEAL' => 'string', 'Vw2.DEAL' => 'string', 'DEAL' => 'string', 'Vw2__ROCIVILSERVICE' => 'string', 'Vw2.ROCIVILSERVICE' => 'string', 'ROCIVILSERVICE' => 'string', 'Vw2__COCIVILSERVICE_NUM' => 'integer', 'Vw2.COCIVILSERVICE_NUM' => 'integer', 'COCIVILSERVICE_NUM' => 'integer', 'Vw2__COCIVILSERVICE' => 'string', 'Vw2.COCIVILSERVICE' => 'string', 'COCIVILSERVICE' => 'string', 'Vw2__LEND_NAMES' => 'string', 'Vw2.LEND_NAMES' => 'string', 'LEND_NAMES' => 'string', 'Vw2__ART_NAMES' => 'string', 'Vw2.ART_NAMES' => 'string', 'ART_NAMES' => 'string', 'Vw2__MEMBERSHIP_NAMES' => 'string', 'Vw2.MEMBERSHIP_NAMES' => 'string', 'MEMBERSHIP_NAMES' => 'string', 'Vw2__COUNT_DELEGATE' => 'string', 'Vw2.COUNT_DELEGATE' => 'string', 'COUNT_DELEGATE' => 'string', 'Vw2__COUNT_RELATION' => 'string', 'Vw2.COUNT_RELATION' => 'string', 'COUNT_RELATION' => 'string', 'Vw2__COUNT_INTEGRATE_INTEREST' => 'string', 'Vw2.COUNT_INTEGRATE_INTEREST' => 'string', 'COUNT_INTEGRATE_INTEREST' => 'string', 'Vw2__TESTIMONY' => 'string', 'Vw2.TESTIMONY' => 'string', 'TESTIMONY' => 'string', 'Vw2__CHECKS' => 'string', 'Vw2.CHECKS' => 'string', 'CHECKS' => 'string', 'Vw2__OWNER_ALL_TOTAL' => 'decimal', 'Vw2.OWNER_ALL_TOTAL' => 'decimal', 'OWNER_ALL_TOTAL' => 'decimal', 'Vw2__OWNER_SOLD_TOTAL' => 'decimal', 'Vw2.OWNER_SOLD_TOTAL' => 'decimal', 'OWNER_SOLD_TOTAL' => 'decimal', 'Vw2__COUNT_OTHER_SPRING' => 'integer', 'Vw2.COUNT_OTHER_SPRING' => 'integer', 'COUNT_OTHER_SPRING' => 'integer', 'Vw2__COUNT_OTHER_WELL' => 'integer', 'Vw2.COUNT_OTHER_WELL' => 'integer', 'COUNT_OTHER_WELL' => 'integer', 'Vw2__COUNT_OTHER_HOUSE' => 'integer', 'Vw2.COUNT_OTHER_HOUSE' => 'integer', 'COUNT_OTHER_HOUSE' => 'integer', 'Vw2__SAVINGS_CASH' => 'decimal', 'Vw2.SAVINGS_CASH' => 'decimal', 'SAVINGS_CASH' => 'decimal', 'Vw2__SAVINGS_ALL' => 'decimal', 'Vw2.SAVINGS_ALL' => 'decimal', 'SAVINGS_ALL' => 'decimal', 'Vw2__RECEIVABLE_BALANCE' => 'decimal', 'Vw2.RECEIVABLE_BALANCE' => 'decimal', 'RECEIVABLE_BALANCE' => 'decimal', 'Vw2__LOAN_TOTAL_BALANCE' => 'decimal', 'Vw2.LOAN_TOTAL_BALANCE' => 'decimal', 'LOAN_TOTAL_BALANCE' => 'decimal', 'Vw2__GIFT_TYPE' => 'string', 'Vw2.GIFT_TYPE' => 'string', 'GIFT_TYPE' => 'string', 'Vw2__ORGNAME' => 'string', 'Vw2.ORGNAME' => 'string', 'ORGNAME' => 'string' ], 'decorators' => (int) 1, 'executed' => true, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [ 'first_name' => 'Раднаасэд', 'last_name' => '', 'org_id' => '', 'org_names' => '', 'position_name' => '', 'year' => '', 'scope' => null, 'whitelist' => [ (int) 0 => 'limit', (int) 1 => 'sort', (int) 2 => 'page', (int) 3 => 'direction' ] ], 'repository' => object(App\Model\Table\Vw2Table) { 'registryAlias' => 'Vw2', 'table' => 'vw2', 'alias' => 'Vw2', 'entityClass' => 'App\Model\Entity\Vw2', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } }
]); |
|
} |
|
$callable = [$this, $request->params['action']]; |
|
|
|
return call_user_func_array($callable, $request->params['pass']); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
[ (int) 0 => object(App\Controller\XacXomController) { paginate => [ 'limit' => (int) 10 ] presetVars => [ 'last_name' => [ [maximum depth reached] ], 'first_name' => [ [maximum depth reached] ], 'org_id' => [ [maximum depth reached] ], 'org_names' => [ [maximum depth reached] ], 'position' => [ [maximum depth reached] ], 'year' => [ [maximum depth reached] ], 'position_name' => [ [maximum depth reached] ], 'year_from' => [ [maximum depth reached] ] ] helpers => [ 'CkEditor.Ck' => null ] name => 'XacXom' request => object(Cake\Network\Request) {} response => object(Cake\Network\Response) {} autoRender => true components => [] View => null plugin => null passedArgs => [] modelClass => 'XacXom' viewClass => null viewVars => [ 'isSearch' => true ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) {} Flash => object(Cake\Controller\Component\FlashComponent) {} Paginator => object(Cake\Controller\Component\PaginatorComponent) {} Prg => object(Search\Controller\Component\PrgComponent) {} reportList => object(App\Model\Table\Vw2Table) {} [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) {} [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) {} [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) {} [protected] _modelFactories => [ 'Table' => [ [maximum depth reached] ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }, (int) 1 => 'index' ] []
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Network\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if (isset($request->params['return'])) { |
|
return $response; |
|
} |
|
|
object(App\Controller\XacXomController) { paginate => [ 'limit' => (int) 10 ] presetVars => [ 'last_name' => [ 'type' => 'value', 'field' => 'last_name' ], 'first_name' => [ 'type' => 'value', 'field' => 'first_name' ], 'org_id' => [ 'type' => 'value', 'field' => 'org_id' ], 'org_names' => [ 'type' => 'value', 'field' => 'org_names' ], 'position' => [ 'type' => 'value', 'field' => 'position' ], 'year' => [ 'type' => 'value', 'field' => 'year' ], 'position_name' => [ 'type' => 'value', 'field' => 'position_name' ], 'year_from' => [ 'type' => 'value', 'field' => 'year_from' ] ] helpers => [ 'CkEditor.Ck' => null ] name => 'XacXom' request => object(Cake\Network\Request) { params => [ [maximum depth reached] ] data => [ [maximum depth reached] ] query => [ [maximum depth reached] ] cookies => [[maximum depth reached]] url => false base => '' webroot => '/' here => '/' trustProxy => false [protected] _environment => [ [maximum depth reached] ] [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) {} } response => object(Cake\Network\Response) { [protected] _statusCodes => [ [maximum depth reached] ] [protected] _mimeTypes => [ [maximum depth reached] ] [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => [[maximum depth reached]] [protected] _body => '' [protected] _file => null [protected] _fileRange => [[maximum depth reached]] [protected] _charset => 'UTF-8' [protected] _cacheDirectives => [[maximum depth reached]] [protected] _cookies => [[maximum depth reached]] } autoRender => true components => [] View => null plugin => null passedArgs => [] modelClass => 'XacXom' viewClass => null viewVars => [ 'isSearch' => true ] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Paginator => object(Cake\Controller\Component\PaginatorComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } Prg => object(Search\Controller\Component\PrgComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } reportList => object(App\Model\Table\Vw2Table) { 'registryAlias' => 'Vw2', 'table' => 'vw2', 'alias' => 'Vw2', 'entityClass' => 'App\Model\Entity\Vw2', 'associations' => [[maximum depth reached]], 'behaviors' => [ [maximum depth reached] ], 'defaultConnection' => 'default', 'connectionName' => 'default' } [protected] _responseClass => 'Cake\Network\Response' [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\XacXomController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => '\Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_eventList' => null, '_trackEvents' => false, '_generalManager' => '(object) EventManager' } [protected] _eventClass => '\Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [ [maximum depth reached] ] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
$cakeRequest = RequestTransformer::toCake($request); |
|
$cakeResponse = ResponseTransformer::toCake($response); |
|
|
|
// Dispatch the request/response to CakePHP |
|
$cakeResponse = $this->getDispatcher()->dispatch($cakeRequest, $cakeResponse); |
|
|
|
// Convert the response back into a PSR7 object. |
|
return ResponseTransformer::toPsr($cakeResponse); |
|
} |
object(Cake\Network\Request) { params => [ 'pass' => [], 'controller' => 'XacXom', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/', '_ext' => null, 'isAjax' => false, 'paging' => [ 'Vw2' => [ [maximum depth reached] ] ] ] data => [ 'last_name' => '', 'first_name' => 'Раднаасэд', 'org_id' => '', 'org_names' => '', 'year' => '', 'position_name' => '' ] query => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] cookies => [] url => false base => '' webroot => '/' here => '/' trustProxy => false [protected] _environment => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '1440' [protected] _isCLI => false } } object(Cake\Network\Response) { [protected] _statusCodes => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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 Timeout', (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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Timeout', (int) 505 => 'Unsupported Version', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [protected] _mimeTypes => [ 'html' => [ (int) 0 => 'text/html', (int) 1 => '*/*' ], 'json' => 'application/json', 'xml' => [ (int) 0 => 'application/xml', (int) 1 => 'text/xml' ], 'xhtml' => [ (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ], 'webp' => 'image/webp', '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' => [ (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' => [ (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' => [ (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-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => [ (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', '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 => [] [protected] _body => '' [protected] _file => null [protected] _fileRange => [] [protected] _charset => 'UTF-8' [protected] _cacheDirectives => [] [protected] _cookies => [] }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'pass' => [[maximum depth reached]], 'controller' => 'XacXom', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$response->getHeaders() |
|
); |
|
} |
|
|
|
return $next($request, $response); |
|
} |
|
} |
|
|
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {}, 'params' => [ 'pass' => [[maximum depth reached]], 'controller' => 'XacXom', 'action' => 'index', 'plugin' => null, '_matchedRoute' => '/' ] ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
$assetFile = $this->_getAssetFile($url); |
|
if ($assetFile === null || !file_exists($assetFile)) { |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (\Exception $e) { |
|
return $this->handleException($e, $request, $response); |
|
} |
|
} |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } } object(Cake\Http\Runner) { [protected] index => (int) 4 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
throw new RuntimeException('The application `middleware` method did not return a middleware queue.'); |
|
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(App\Application) {} ] } object(Zend\Diactoros\ServerRequest) { [protected] headers => [ 'accept' => [ (int) 0 => '*/*' ], 'user-agent' => [ (int) 0 => 'claudebot' ], 'host' => [ (int) 0 => 'xacxom.iaac.mn' ] ] [protected] headerNames => [ 'accept' => 'accept', 'user-agent' => 'user-agent', 'host' => 'host' ] [private] attributes => [ 'base' => '', 'webroot' => '/', 'session' => object(Cake\Network\Session) {} ] [private] cookieParams => [] [private] parsedBody => [] [private] queryParams => [ 'last_name' => '', 'org_id' => '', 'org_names' => '', 'first_name' => 'Раднаасэд', 'position_name' => '', 'year' => '', 'page' => '2', 'sort' => 'FIRST_NAME', 'direction' => 'asc' ] [private] serverParams => [ 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'xacxom.iaac.mn', 'PATH' => '/sbin:/usr/sbin:/bin:/usr/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.2.15 (CentOS) Server at xacxom.iaac.mn Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.2.15 (CentOS)', 'SERVER_NAME' => 'xacxom.iaac.mn', 'SERVER_ADDR' => '192.168.102.10', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.238.6.55', 'DOCUMENT_ROOT' => '/var/www/html/web/', 'SERVER_ADMIN' => 'root@localhost', 'SCRIPT_FILENAME' => '/var/www/html/web/webroot/index.php', 'REMOTE_PORT' => '52846', 'REDIRECT_QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REDIRECT_URL' => '/webroot/', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'REQUEST_URI' => '/?last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711730310.805, 'REQUEST_TIME' => (int) 1711730310 ] [private] uploadedFiles => [] [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => true } [private] method => 'GET' [private] requestTarget => null [private] uri => object(Zend\Diactoros\Uri) { [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'http' [private] userInfo => '' [private] host => 'xacxom.iaac.mn' [private] port => null [private] path => '/' [private] query => 'last_name=&org_id=&org_names=&first_name=%D0%A0%D0%B0%D0%B4%D0%BD%D0%B0%D0%B0%D1%81%D1%8D%D0%B4&position_name=&year=&page=2&sort=FIRST_NAME&direction=asc' [private] fragment => '' [private] uriString => null } } object(Zend\Diactoros\Response) { [protected] headers => [] [protected] headerNames => [] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (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) 207 => 'Multi-status', (int) 208 => 'Already Reported', (int) 226 => 'IM used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent 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) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'HTTP Version not supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) { [protected] resource => resource [protected] stream => 'php://memory' } }
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application |
|
// and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
If you want to customize this error message, create src/Template/Error/error400.ctp