404
Эта страница не может быть найдена.
Z"f N N /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/bitrix.sitecommunity/lang ral/cusertypehlbl ! @̺ @̺ 0мCc /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sale/lang/ru/lib/internals/product2product.php p fqٗb /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sender/lib/trigger/triggerconnectorclosed.php nals/fuser.php ! @̺ @̺ s#Y /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/sale/lang/ru/lib/internals/fuser.php m Z"f a a /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.php C U /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/bitrix.eshop/lang/ru/include.php ang/ru/gen! @̺ ĒqDX /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/main/classes/general/virtual_io.php ! @̺ @̺ /home/ho1 ules/ibl! ! @̺ @̺ On~zq }QbN /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/iblock/lang/ru/iblock.php q ((ZD /home/host1863740/arpik.ru/htdocs/www/bitrix/modules/seo/include.php modules/asp! @̺ @ general/! @̺ 0@̺ ! @̺ @̺ /gTm91 @̺ @@̺ 0 fk %^ ɺ _ ɺ p7 gk %^ `` ɺ p7 ! bk %^ i 0i ɺ p7 ! ck %^ p i i ɺ p7 ! pck %^ i g ɺ p7 ! ck %^ pi h ɺ p7 ! dk %^ i j ɺ p7 ! `dk %^ pi k ɺ p7 ! dk %^ i l ɺ p7 ek %^ pi P ɺ p7 A D$ޝ getResultDocument ^ @1^ 1 ( ek %^ 1 ~o @i P S P S v Q /^ 0^ /^ 0^ 1^ `2^ @1^ @ 1 kqz errorLabels 1 ,̟W * errorLabels Q LZn( MongoDB\Driver\Exception\ServerException o @i @ ɺ 0i ɺ 2ɺ 0 )^ '^ .^ ɺ p ] Q Sn 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 %ӳ г г
Эта страница не может быть найдена.