{"id":219,"date":"2024-04-17T12:25:21","date_gmt":"2024-04-17T09:25:21","guid":{"rendered":"https:\/\/road-to-heaven.viro35.ru\/?page_id=219"},"modified":"2024-04-18T21:26:44","modified_gmt":"2024-04-18T18:26:44","slug":"mvc-controller","status":"publish","type":"page","link":"https:\/\/road-to-heaven.viro35.ru\/?page_id=219","title":{"rendered":"MVC &#8212; Controller"},"content":{"rendered":"\n<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432 CamelCase \u0432 \u043a\u043e\u043d\u0446\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e Controller<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php artisan make:controller \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435Controller<\/code><\/pre>\n\n\n\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435. \u0418\u043c\u0435\u043d\u043d\u043e \u0432 \u043c\u043e\u0434\u0435\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u043e\u0439.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>use App\\Models\\Worker;<\/code><\/pre>\n\n\n\n<p>\u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d. \u041c\u044b \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u043c\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 views \u0438 \u043e\u0442 \u043d\u0435\u0435 \u0438\u0434\u0435\u043c \u043a \u0448\u0430\u0431\u043b\u043e\u043d\u0443. \u0422\u043e\u0447\u043a\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u0435\u043b\u0435\u043c \u043f\u0430\u043f\u043e\u043a, \u0432 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 index \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u0430 \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0440\u0438\u043f\u0438\u0441\u0430\u043d\u043e .blade.php<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$workers = Worker::all();\nreturn view('worker.index', compact('workers'));<\/code><\/pre>\n\n\n\n<p>\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432, \u0444\u0443\u043d\u043a\u0446\u0438\u044f&nbsp;compact()&nbsp;\u0438\u0449\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c \u0432 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0445 \u0432 \u0432\u044b\u0432\u043e\u0434\u0438\u043c\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0442\u0430\u043a, \u0447\u0442\u043e \u0438\u043c\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043a\u043b\u044e\u0447\u043e\u043c, \u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 (\u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f extract)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CREATE<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>Worker::create($data); <\/code><\/pre>\n\n\n\n<p>\u0412 $data \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043a\u043b\u044e\u0447\u0438 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0441 \u043a\u043e\u043b\u043e\u043d\u043a\u0430\u043c\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e, \u0432 \u043a\u0430\u043a\u0443\u044e \u043a\u043e\u043b\u043e\u043d\u043a\u0443 \u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0442\u044c. \u0417\u0430\u043f\u0438\u0441\u044c \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438 \u0446\u0438\u043a\u043b\u0430.<\/p>\n\n\n\n<p>\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0444\u043e\u0440\u043c\u044b \u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0431\u0430\u0437\u0443.<\/p>\n\n\n\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c @csrf \u0442\u043e\u043a\u0435\u043d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0432 \u0444\u043e\u0440\u043c\u0435 \u0430 \u0441\u0430\u043c\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$data = request()-&gt;all();<\/code><\/pre>\n\n\n\n<p>\u0414\u0430\u043d\u043d\u044b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u043e\u0439\u0442\u0438 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u044e, \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441<\/p>\n\n\n\n<p>php artisan make:request Worker\/storeRequest<\/p>\n\n\n\n<p>\u0412 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 Worker \u044d\u0442\u043e \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c, \u043d\u0443 \u0438\u043b\u0438 \u0436\u0435 \u0442\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u0438 \u0432 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0438\u0434\u0435\u0442 \u0437\u0430\u043f\u0438\u0441\u044c. \u041f\u0440\u0430\u0432\u0438\u043b\u0430 \u043d\u0435\u0439\u043c\u0438\u043d\u0433\u0430 \u0442\u0430\u043a\u0438\u0435 \u0436\u0435 \u043a\u0430\u043a \u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0439\/\u043c\u043e\u0434\u0435\u043b\u0435\u0439. storeRequest \u043a\u043e\u043c\u0431\u0438\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043e, store \u044d\u0442\u043e \u044d\u043a\u0448\u0435\u043d \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0430 Request \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u043c\u0430\u0433\u0438\u0438.<\/p>\n\n\n\n<p>\u0412 \u0441\u0430\u043c\u043e\u043c \u0440\u0435\u043a\u0432\u0435\u0441\u0442\u0435 \u043f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 authorize() \u043c\u0435\u043d\u044f\u0435\u043c false \u043d\u0430 true<\/p>\n\n\n\n<p>\u0412 \u043c\u0435\u0442\u043e\u0434\u0435 rules \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438. \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0441\u0442\u043e\u0438\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u043e\u043b\u044f \u0438 \u0442\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0443\u0441\u0442\u044b\u043c\u0438.<\/p>\n\n\n\n<p><a href=\"https:\/\/laravel.com\/docs\/11.x\/validation#available-validation-rules\">\u0412\u0441\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438<\/a><\/p>\n\n\n\n<p>\u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u0430\u0432\u0438\u043b \u0432\u0430\u043b\u0438\u0434\u0430\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043c\u0435\u0442\u043e\u0434\u0435, \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0437\u0430\u043f\u0438\u0441\u044c \u0432 \u0431\u0430\u0437\u0443 \u0438 \u043f\u0435\u0440\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441 \u043d\u0430 \u043d\u0443\u0436\u043d\u0443\u044e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public function store(StoreRequest $request)\n  {\n    $data = $request->validated();\n    $data&#91;'is_married'] = isset($data&#91;'is_married']) ? true : false; - \u0434\u043b\u044f \u0447\u0435\u043a\u0431\u043e\u043a\u0441\u043e\u0432\n    Worker::create($data);\n    return redirect()->route('worker.index');\n  }<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">READ<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker = Worker::all(); - \u0432\u0441\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0441\u0440\u0430\u0437\u0443<\/code><\/pre>\n\n\n\n<p>\u0412 \u043e\u0442\u0432\u0435\u0442\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u043f\u0443\u043d\u043a\u0442\u044b:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>original &#8212; \u0442\u043e \u0447\u0442\u043e \u043f\u0440\u0438\u0448\u043b\u043e \u0441 \u0431\u0430\u0437\u044b<\/li>\n\n\n\n<li>attributes &#8212; \u043f\u043e \u0441\u0443\u0442\u0438 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043d\u043e \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0447\u0442\u043e \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0435<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker-&gt;new_attr = 'new attr'; - \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442<\/code><\/pre>\n\n\n\n<p>\u041f\u043e\u0438\u0441\u043a \u043f\u0435\u0440\u0432\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker = Worker::first(); - \u043f\u0435\u0440\u0432\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c<\/code><\/pre>\n\n\n\n<p>\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 id<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker = Worker::find(1);<\/code><\/pre>\n\n\n\n<p>\u041e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0434\u0430\u043d\u043d\u044b\u043c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker-&gt;title; \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0443 \u043f\u043e \u0435\u0433\u043e \u043a\u043b\u044e\u0447\u0443\n$worker-&gt;toArray(); \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 attributes \u043a \u043e\u0431\u044b\u0447\u043d\u043e\u043c\u0443 \u043c\u0430\u0441\u0441\u0438\u0432\u0443<\/code><\/pre>\n\n\n\n<p>\u0420\u0430\u0431\u043e\u0442\u0430 \u0441 \u0440\u043e\u0443\u0442\u043e\u043c \u0433\u0434\u0435 \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 id \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0430.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Route::get('\/workers\/show\/{worker}', &#91;WorkerController::class, 'show'])-&gt;name('worker.show');<\/code><\/pre>\n\n\n\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0435\u0441\u0442\u044c 2 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430, \u043f\u0435\u0440\u0432\u044b\u0439 \u044d\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445, \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u0442\u0430\u043a \u0432\u0430\u0436\u043d\u044b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public function show($id)\n  {\n    $worker = Worker::findOrFail($id);\n    return view('worker.show', compact('worker'));\n  }<\/code><\/pre>\n\n\n\n<p>\u0412\u0442\u043e\u0440\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043d\u043e \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u043c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u0430\u043a\u0442\u0438\u043a. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432 \u043c\u0435\u0442\u043e\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u0442\u0441\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u043c \u0438\u043c\u0435\u043d\u0435\u043c. \u0422\u0430\u043a\u043e\u0435 \u0436\u0435 \u0438\u043c\u044f \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0438 \u0432 \u0440\u043e\u0443\u0442\u0435<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>public function show(Worker $worker)\n  {\n    return view('worker.show', compact('worker'));\n  }<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">UPDATE<\/h2>\n\n\n\n<p>\u0411\u0430\u0437\u043e\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f. \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0439\u0442\u0438 \u0437\u0430\u043f\u0438\u0441\u044c \u0438 \u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c. \u0422\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f \u043a \u0434\u0430\u043d\u043d\u044b\u043c \u0442\u0430\u043a\u0438\u0435 \u0436\u0435 \u043a\u0430\u043a \u0438 \u043f\u0440\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0438<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker = Worker::find(1);\n$worker-&gt;update($data);<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">DELETE<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>$worker = Worker::find(1);\n$worker-&gt;delete();<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430. \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432 CamelCase \u0432 \u043a\u043e\u043d\u0446\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e Controller \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0443\u0436\u043d\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0435. \u0418\u043c\u0435\u043d\u043d\u043e \u0432 \u043c\u043e\u0434\u0435\u043b\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0447\u043a\u043e\u0439. \u041f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d. \u041c\u044b \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-219","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=\/wp\/v2\/pages\/219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=219"}],"version-history":[{"count":38,"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=\/wp\/v2\/pages\/219\/revisions"}],"predecessor-version":[{"id":330,"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=\/wp\/v2\/pages\/219\/revisions\/330"}],"wp:attachment":[{"href":"https:\/\/road-to-heaven.viro35.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}