Z"fNN/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/bitrix.sitecommunity/langral/cusertypehlbl!@̺ @̺0мCc/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sale/lang/ru/lib/internals/product2product.phpp fqٗb/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sender/lib/trigger/triggerconnectorclosed.phpnals/fuser.php!@̺ @̺s#Y/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sale/lang/ru/lib/internals/fuser.phpmZ"faa/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/main/lang/ru/classes/general/filterquery.php!@̺ @̺vdD/Y/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sale/lang/ru/lib/internals/order.phpCU/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/bitrix.eshop/lang/ru/include.phpang/ru/gen!@̺ ĒqDX/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/main/classes/general/virtual_io.php!@̺ @̺/home/ho1ules/ibl! !@̺ @̺On~zq}QbN/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/iblock/lang/ru/iblock.phpq((ZD/home/host1863740/arpik.ru/htdocs/www/bitrix/modules/seo/include.phpmodules/asp!@̺@general/!@̺0@̺ !@̺ @̺/gTm91@̺@@̺0fk%^ɺ_ ɺp7gk%^`` ɺp7!bk%^ i0i ɺp7! ck%^p ii ɺp7!pck%^ ig ɺp7!ck%^pih ɺp7!dk%^ij ɺp7!`dk%^pik ɺp7!dk%^il ɺp7ek%^piP ɺp7AD$ޝgetResultDocument^@1^1(ek%^1~o@iPSPSvQ/^ 0^/^0^1^`2^@1^@1kqz errorLabels1 ,̟W*errorLabelsQLZn(MongoDB\Driver\Exception\ServerExceptiono@i@ ɺ0iɺ2ɺ0)^'^.^ ɺ  p]QSn 1(mongodb\driver\exceptiond', __( 'Invalid menu location.' ), array( 'status' => 404 ) ); } $location = new stdClass(); $location->name = $request['location']; $location->description = $registered_menus[ $location->name ]; $data = $this->prepare_item_for_response( $location, $request ); return rest_ensure_response( $data ); } /** * Prepares a menu location object for serialization. * * @since 5.9.0 * * @param stdClass $item Post status data. * @param WP_REST_Request $request Full details about the request. * @return WP_REST_Response Menu location data. */ public function prepare_item_for_response( $item, $request ) { // Restores the more descriptive, specific name for use within this method. $location = $item; $locations = get_nav_menu_locations(); $menu = isset( $locations[ $location->name ] ) ? $locations[ $location->name ] : 0; $fields = $this->get_fields_for_response( $request ); $data = array(); if ( rest_is_field_included( 'name', $fields ) ) { $data['name'] = $location->name; } if ( rest_is_field_included( 'description', $fields ) ) { $data['description'] = $location->description; } if ( rest_is_field_included( 'menu', $fields ) ) { $data['menu'] = (int) $menu; } $context = ! empty( $request['context'] ) ? $request['context'] : 'view'; $data = $this->add_additional_fields_to_object( $data, $request ); $data = $this->filter_response_by_context( $data, $context ); $response = rest_ensure_response( $data ); if ( rest_is_field_included( '_links', $fields ) || rest_is_field_included( '_embedded', $fields ) ) { $response->add_links( $this->prepare_links( $location ) ); } /** * Filters menu location data returned from the REST API. * * @since 5.9.0 * * @param WP_REST_Response $response The response object. * @param object $location The original location object. * @param WP_REST_Request $request Request used to generate the response. */ return apply_filters( 'rest_prepare_menu_location', $response, $location, $request ); } /** * Prepares links for the request. * * @since 5.9.0 * * @param stdClass $location Menu location. * @return array Links for the given menu location. */ protected function prepare_links( $location ) { $base = sprintf( '%s/%s', $this->namespace, $this->rest_base ); // Entity meta. $links = array( 'self' => array( 'href' => rest_url( trailingslashit( $base ) . $location->name ), ), 'collection' => array( 'href' => rest_url( $base ), ), ); $locations = get_nav_menu_locations(); $menu = isset( $locations[ $location->name ] ) ? $locations[ $location->name ] : 0; if ( $menu ) { $path = rest_get_route_for_term( $menu ); if ( $path ) { $url = rest_url( $path ); $links['https://api.w.org/menu'][] = array( 'href' => $url, 'embeddable' => true, ); } } return $links; } /** * Retrieves the menu location's schema, conforming to JSON Schema. * * @since 5.9.0 * * @return array Item schema data. */ public function get_item_schema() { if ( $this->schema ) { return $this->add_additional_fields_schema( $this->schema ); } $this->schema = array( '$schema' => 'http://json-schema.org/draft-04/schema#', 'title' => 'menu-location', 'type' => 'object', 'properties' => array( 'name' => array( 'description' => __( 'The name of the menu location.' ), 'type' => 'string', 'context' => array( 'embed', 'view', 'edit' ), 'readonly' => true, ), 'description' => array( 'description' => __( 'The description of the menu location.' ), 'type' => 'string', 'context' => array( 'embed', 'view', 'edit' ), 'readonly' => true, ), 'menu' => array( 'description' => __( 'The ID of the assigned menu.' ), 'type' => 'integer', 'context' => array( 'embed', 'view', 'edit' ), 'readonly' => true, ), ), ); return $this->add_additional_fields_schema( $this->schema ); } /** * Retrieves the query params for collections. * * @since 5.9.0 * * @return array Collection parameters. */ public function get_collection_params() { return array( 'context' => $this->get_context_param( array( 'default' => 'view' ) ), ); } } ӳD~MG <Kӳгг#ӳгг@$ӳгггPN гPN %ӳгг Страница не найдена

404

Эта страница не может быть найдена.