Image::$thumbnailBackgroundAlpha = 0; $image = Image::thumbnail( $src, $this->width, $this->height, ManipulatorInterface::THUMBNAIL_INSET ); if (!is_dir($fileStore)) { if (!mkdir($fileStore)) { Yii::warning('Cannot create folder for images', self::className()); return 'Failed'; } } if(false === $image->save($fileStore . '/' . $pathName . '.' . $ext, ['quality' => $this->quality])){ Yii::warning('Cannot save generated image', self::className()); } } }
$this->width, $this->height, ManipulatorInterface::THUMBNAIL_INSET ); if (!is_dir($fileStore)) { if (!mkdir($fileStore)) { Yii::warning('Cannot create folder for images', self::className()); return 'Failed'; } } if(false === $image->save($fileStore . '/' . $pathName . '.' . $ext, ['quality' => $this->quality])){ Yii::warning('Cannot save generated image', self::className());
try { /* @var $widget Widget */ $config['class'] = get_called_class(); $widget = Yii::createObject($config); $out = ''; if ($widget->beforeRun()) { $result = $widget->run(); $out = $widget->afterRun($result); } } catch (\Exception $e) { // close the output buffer opened above if it has not been closed already if (ob_get_level() > 0) { ob_end_clean();
$img = app\modules\image\widgets\ImageOptimizeWidget::widget([ 'src' => $images ? '/files/'. $images[0]->filename : null, 'emptyImage' => '/theme/2019/distr/img/img_theme/doc-alternate-001.png', 'width' => 265, 'height' => 265, // 'asContent' => true, 'alt' => $product->name ]) ?> <?= $img ?> </a> </div>
{ $_obInitialLevel_ = ob_get_level(); ob_start(); ob_implicit_flush(false); extract($_params_, EXTR_OVERWRITE); try { require $_file_; return ob_get_clean(); } catch (\Exception $e) { while (ob_get_level() > $_obInitialLevel_) { if (!@ob_end_clean()) { ob_clean(); }
$this->renderers[$ext] = Yii::createObject($this->renderers[$ext]); } /* @var $renderer ViewRenderer */ $renderer = $this->renderers[$ext]; $output = $renderer->render($this, $viewFile, $params); } else { $output = $this->renderPhpFile($viewFile, $params); } $this->afterRender($viewFile, $params, $output); } array_pop($this->_viewFiles); $this->context = $oldContext;
* @throws InvalidCallException if the view cannot be resolved. * @see renderFile() */ public function render($view, $params = [], $context = null) { $viewFile = $this->findViewFile($view, $context); return $this->renderFile($viewFile, $params, $context); } /** * Finds the view file based on the given view name. * @param string $view the view name or the [path alias](guide:concept-aliases) of the view file. Please refer to [[render()]] * on how to specify this parameter.
<div class="container"> <h2 class="page-label">Другие врачи категории "<?= $mainCategory ? $mainCategory->name : null?>"</h2> <div class="list-doctors"> <?php foreach ($related as $relatedDoctor): ?> <?= $this->render('doctor-row', [ 'agregator' => $relatedDoctor, 'category' => $mainCategory, ]); ?> <?php endforeach; ?> </div> </div> </div>
{ $_obInitialLevel_ = ob_get_level(); ob_start(); ob_implicit_flush(false); extract($_params_, EXTR_OVERWRITE); try { require $_file_; return ob_get_clean(); } catch (\Exception $e) { while (ob_get_level() > $_obInitialLevel_) { if (!@ob_end_clean()) { ob_clean(); }
$this->renderers[$ext] = Yii::createObject($this->renderers[$ext]); } /* @var $renderer ViewRenderer */ $renderer = $this->renderers[$ext]; $output = $renderer->render($this, $viewFile, $params); } else { $output = $this->renderPhpFile($viewFile, $params); } $this->afterRender($viewFile, $params, $output); } array_pop($this->_viewFiles); $this->context = $oldContext;
* @throws InvalidCallException if the view cannot be resolved. * @see renderFile() */ public function render($view, $params = [], $context = null) { $viewFile = $this->findViewFile($view, $context); return $this->renderFile($viewFile, $params, $context); } /** * Finds the view file based on the given view name. * @param string $view the view name or the [path alias](guide:concept-aliases) of the view file. Please refer to [[render()]] * on how to specify this parameter.
* These parameters will not be available in the layout. * @return string the rendering result. * @throws InvalidArgumentException if the view file or the layout file does not exist. */ public function render($view, $params = []) { $content = $this->getView()->render($view, $params, $this); return $this->renderContent($content); } /** * Renders a static string by applying a layout. * @param string $content the static string being rendered
'referer' => Yii::$app->getRequest()->getReferrer(), 'agregator' => $agregator, 'related' => $relatedList->execute(['image', 'clinics', 'categories']), 'mapPoints' => Json::encode($mapPoints ? $mapPoints : []), 'rating_sum'=> $rating_sum, 'stocks' => $stocks, 'title_h1' => $title_h1 ]); } public function actionShowAjax($category = null, $district = null){ $category = Category::findBySlug($category, 0);
$isAjax = Yii::$app->getRequest()->isAjax; if(is_numeric($product)){ throw new NotFoundHttpException(); } if(is_object($product)){ return $this->show($product); }else if($isAjax){ return $this->ajaxList($category, $district); }else{ return $this->list($category, $district); }
$args = $this->controller->bindActionParams($this, $params); Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__); if (Yii::$app->requestedParams === null) { Yii::$app->requestedParams = $args; } return call_user_func_array([$this->controller, $this->actionMethod], $args); } }
} $result = null; if ($runAction && $this->beforeAction($action)) { // run the action $result = $action->runWithParams($params); $result = $this->afterAction($action, $result); // call afterAction on modules foreach ($modules as $module) { /* @var $module Module */
$parts = $this->createController($route); if (is_array($parts)) { /* @var $controller Controller */ list($controller, $actionID) = $parts; $oldController = Yii::$app->controller; Yii::$app->controller = $controller; $result = $controller->runAction($actionID, $params); if ($oldController !== null) { Yii::$app->controller = $oldController; } return $result; }
$params = $this->catchAll; unset($params[0]); } try { Yii::debug("Route requested: '$route'", __METHOD__); $this->requestedRoute = $route; $result = $this->runAction($route, $params); if ($result instanceof Response) { return $result; } $response = $this->getResponse(); if ($result !== null) {
{ try { $this->state = self::STATE_BEFORE_REQUEST; $this->trigger(self::EVENT_BEFORE_REQUEST); $this->state = self::STATE_HANDLING_REQUEST; $response = $this->handleRequest($this->getRequest()); $this->state = self::STATE_AFTER_REQUEST; $this->trigger(self::EVENT_AFTER_REQUEST); $this->state = self::STATE_SENDING_RESPONSE; $response->send();
defined('YII_ENV') or define('YII_ENV', $yiiEnvironment); defined('YII_CONSOLE') or define('YII_CONSOLE', false); require(__DIR__ . '/../vendor/autoload.php'); require(__DIR__ . '/../vendor/yiisoft/yii2/Yii.php'); $config = require(__DIR__ . '/../config/web.php'); require(__DIR__ . '/../functions.php'); (new yii\web\Application($config))->run();
$_GET = [ 'last_category_id' => null, 'category_group_id' => null, 'parent_id' => 1, 'object_id' => 15, 'product' => unserialize('O:37:"app\\modules\\shop\\models\\OfflineDoctor":15:{s:15:"' . "\0" . '*' . "\0" . 'category_ids";N;s:20:"relatedProductsArray";a:0:{}s:10:"categories";N;s:54:"' . "\0" . 'app\\modules\\shop\\models\\Product' . "\0" . 'activeWarehousesState";N;s:7:"rank_cd";N;s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:32:{s:2:"id";i:2535;s:16:"main_category_id";i:1;s:9:"parent_id";i:0;s:15:"option_generate";s:0:"";s:4:"name";s:44:"Шамов Булат Альфредович";s:5:"title";s:44:"Шамов Булат Альфредович";s:2:"h1";s:44:"Шамов Булат Альфредович";s:16:"meta_description";s:44:"Шамов Булат Альфредович";s:17:"breadcrumbs_label";s:44:"Шамов Булат Альфредович";s:4:"slug";s:35:"shamov-bulat-alfredovich-med-114919";s:13:"slug_compiled";s:0:"";s:13:"slug_absolute";i:0;s:7:"content";s:1:".";s:8:"announce";N;s:10:"sort_order";i:0;s:6:"active";i:1;s:5:"price";d:0;s:9:"old_price";d:0;s:3:"sku";s:0:"";s:15:"unlimited_count";i:1;s:11:"currency_id";i:1;s:10:"measure_id";i:1;s:10:"date_added";s:19:"2020-02-29 13:53:44";s:13:"date_modified";s:19:"2021-01-11 16:01:44";s:12:"is_medclinic";b:0;s:13:"owner_user_id";i:882;s:19:"parent_medclinic_id";i:0;s:3:"fts";s:55:"\'альфредович\':3A \'булат\':2A \'шам\':1A";s:5:"snils";N;s:14:"properties_dop";s:23:"{"no_best_doctor": "1"}";s:8:"seo_text";s:0:"";s:8:"priority";N;}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:32:{s:2:"id";i:2535;s:16:"main_category_id";i:1;s:9:"parent_id";i:0;s:15:"option_generate";s:0:"";s:4:"name";s:44:"Шамов Булат Альфредович";s:5:"title";s:44:"Шамов Булат Альфредович";s:2:"h1";s:44:"Шамов Булат Альфредович";s:16:"meta_description";s:44:"Шамов Булат Альфредович";s:17:"breadcrumbs_label";s:44:"Шамов Булат Альфредович";s:4:"slug";s:35:"shamov-bulat-alfredovich-med-114919";s:13:"slug_compiled";s:0:"";s:13:"slug_absolute";i:0;s:7:"content";s:1:".";s:8:"announce";N;s:10:"sort_order";i:0;s:6:"active";i:1;s:5:"price";d:0;s:9:"old_price";d:0;s:3:"sku";s:0:"";s:15:"unlimited_count";i:1;s:11:"currency_id";i:1;s:10:"measure_id";i:1;s:10:"date_added";s:19:"2020-02-29 13:53:44";s:13:"date_modified";s:19:"2021-01-11 16:01:44";s:12:"is_medclinic";b:0;s:13:"owner_user_id";i:882;s:19:"parent_medclinic_id";i:0;s:3:"fts";s:55:"\'альфредович\':3A \'булат\':2A \'шам\':1A";s:5:"snils";N;s:14:"properties_dop";s:23:"{"no_best_doctor": "1"}";s:8:"seo_text";s:0:"";s:8:"priority";N;}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:2:{s:6:"images";a:1:{i:0;O:30:"app\\modules\\image\\models\\Image":10:{s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:7:{s:2:"id";i:2359;s:9:"object_id";i:3;s:15:"object_model_id";i:2535;s:8:"filename";s:27:"shamov-ba-5e5a42c4eaaf6.jpg";s:11:"image_title";s:0:"";s:10:"sort_order";i:0;s:9:"image_alt";N;}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:7:{s:2:"id";i:2359;s:9:"object_id";i:3;s:15:"object_model_id";i:2535;s:8:"filename";s:27:"shamov-ba-5e5a42c4eaaf6.jpg";s:11:"image_title";s:0:"";s:10:"sort_order";i:0;s:9:"image_alt";N;}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:0:{}s:47:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_relationsDependencies";a:0:{}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:3:{s:11:"afterDelete";a:2:{i:0;a:2:{i:0;a:2:{i:0;O:47:"devgroup\\TagDependencyHelper\\ActiveRecordHelper":2:{s:5:"cache";s:5:"cache";s:5:"owner";r:75;}i:1;s:14:"invalidateTags";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;O:37:"nhkey\\arh\\ActiveRecordHistoryBehavior":5:{s:7:"manager";s:28:"nhkey\\arh\\managers\\DBManager";s:12:"ignoreFields";a:0:{}s:10:"eventsList";a:4:{i:0;i:0;i:1;i:1;i:2;i:2;i:3;i:3;}s:14:"managerOptions";N;s:5:"owner";r:75;}i:1;s:11:"saveHistory";}i:1;N;}}s:11:"afterInsert";a:2:{i:0;a:2:{i:0;a:2:{i:0;r:101;i:1;s:14:"invalidateTags";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;r:108;i:1;s:11:"saveHistory";}i:1;N;}}s:11:"afterUpdate";a:2:{i:0;a:2:{i:0;a:2:{i:0;r:101;i:1;s:14:"invalidateTags";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;r:108;i:1;s:11:"saveHistory";}i:1;N;}}}s:35:"' . "\0" . 'yii\\base\\Component' . "\0" . '_eventWildcards";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:3:{i:0;O:24:"app\\behaviors\\ImageExist":2:{s:11:"srcAttrName";s:8:"filename";s:5:"owner";r:75;}i:1;r:101;s:7:"history";r:108;}}}s:14:"doctorCategory";O:32:"app\\modules\\shop\\models\\Category":14:{s:10:"deleteMode";i:1;s:41:"' . "\0" . 'app\\modules\\shop\\models\\Category' . "\0" . 'urlPath";N;s:43:"' . "\0" . 'app\\modules\\shop\\models\\Category' . "\0" . 'parentIds";N;s:44:"' . "\0" . 'app\\modules\\shop\\models\\Category' . "\0" . 'filterSets";N;s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:21:{s:2:"id";i:8;s:17:"category_group_id";i:1;s:9:"parent_id";i:1;s:4:"name";s:20:"Дерматолог";s:5:"title";s:20:"Дерматолог";s:2:"h1";s:20:"Дерматолог";s:16:"meta_description";s:444:"Запись к дерматологу в Казани удобнее делать через сервис ОК\'ДОКТОР. Можно это сделать в самое удобное время, подобрать специалиста рядом с работой или домом. Это можно сделать через сайт или по телефону. Рейтинг врачей формируется по отзывам.";s:17:"breadcrumbs_label";s:20:"Дерматолог";s:4:"slug";s:10:"dermatolog";s:13:"slug_compiled";s:0:"";s:13:"slug_absolute";i:0;s:7:"content";s:454:"<p>Сервис<img src="/upload/images/58eb3adf2b624.png" height="15" alt="записаться на прием к дерматологу" style="height: 15px;"> - это удобный способ быстро записаться на прием к платному дерматологу в Казани. Записываться на прием к врачам вместе с ОК\'Доктор - это действительно удобно!</p>";s:8:"announce";s:0:"";s:10:"sort_order";i:460;s:12:"title_append";s:81:"- записаться на прием к платному дерматологу";s:6:"active";i:1;s:10:"date_added";s:19:"2016-08-12 10:39:02";s:13:"date_modified";s:19:"2017-06-28 15:50:46";s:11:"property_id";i:0;s:17:"property_group_id";i:0;s:3:"fts";s:29:"\'1\' \'дерматолог\':1A";}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:21:{s:2:"id";i:8;s:17:"category_group_id";i:1;s:9:"parent_id";i:1;s:4:"name";s:20:"Дерматолог";s:5:"title";s:20:"Дерматолог";s:2:"h1";s:20:"Дерматолог";s:16:"meta_description";s:444:"Запись к дерматологу в Казани удобнее делать через сервис ОК\'ДОКТОР. Можно это сделать в самое удобное время, подобрать специалиста рядом с работой или домом. Это можно сделать через сайт или по телефону. Рейтинг врачей формируется по отзывам.";s:17:"breadcrumbs_label";s:20:"Дерматолог";s:4:"slug";s:10:"dermatolog";s:13:"slug_compiled";s:0:"";s:13:"slug_absolute";i:0;s:7:"content";s:454:"<p>Сервис<img src="/upload/images/58eb3adf2b624.png" height="15" alt="записаться на прием к дерматологу" style="height: 15px;"> - это удобный способ быстро записаться на прием к платному дерматологу в Казани. Записываться на прием к врачам вместе с ОК\'Доктор - это действительно удобно!</p>";s:8:"announce";s:0:"";s:10:"sort_order";i:460;s:12:"title_append";s:81:"- записаться на прием к платному дерматологу";s:6:"active";i:1;s:10:"date_added";s:19:"2016-08-12 10:39:02";s:13:"date_modified";s:19:"2017-06-28 15:50:46";s:11:"property_id";i:0;s:17:"property_group_id";i:0;s:3:"fts";s:29:"\'1\' \'дерматолог\':1A";}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:0:{}s:47:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_relationsDependencies";a:0:{}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:6:{s:11:"afterDelete";a:2:{i:0;a:2:{i:0;a:2:{i:0;O:47:"devgroup\\TagDependencyHelper\\ActiveRecordHelper":2:{s:5:"cache";s:5:"cache";s:5:"owner";r:149;}i:1;s:14:"invalidateTags";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;O:18:"app\\behaviors\\Tree":6:{s:11:"idAttribute";s:2:"id";s:17:"parentIdAttribute";s:9:"parent_id";s:9:"sortOrder";a:2:{s:10:"sort_order";i:4;s:2:"id";i:4;}s:15:"cascadeDeleting";b:0;s:15:"activeAttribute";s:6:"active";s:5:"owner";r:149;}i:1;s:11:"afterDelete";}i:1;N;}}s:11:"afterInsert";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:207;i:1;s:14:"invalidateTags";}i:1;N;}}s:11:"afterUpdate";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:207;i:1;s:14:"invalidateTags";}i:1;N;}}s:12:"beforeDelete";a:1:{i:0;a:2:{i:0;a:2:{i:0;O:28:"app\\behaviors\\CleanRelations":1:{s:5:"owner";r:149;}i:1;s:16:"cleanUpRelations";}i:1;N;}}s:12:"beforeInsert";a:1:{i:0;a:2:{i:0;a:2:{i:0;O:31:"yii\\behaviors\\TimestampBehavior":7:{s:18:"createdAtAttribute";s:10:"date_added";s:18:"updatedAtAttribute";s:13:"date_modified";s:5:"value";O:17:"yii\\db\\Expression":2:{s:10:"expression";s:5:"NOW()";s:6:"params";a:0:{}}s:10:"attributes";a:2:{s:12:"beforeInsert";a:1:{i:0;s:10:"date_added";}s:12:"beforeUpdate";a:1:{i:0;s:13:"date_modified";}}s:17:"skipUpdateOnClean";b:1;s:22:"preserveNonEmptyValues";b:0;s:5:"owner";r:149;}i:1;s:18:"evaluateAttributes";}i:1;N;}}s:12:"beforeUpdate";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:247;i:1;s:18:"evaluateAttributes";}i:1;N;}}}s:35:"' . "\0" . 'yii\\base\\Component' . "\0" . '_eventWildcards";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:5:{i:0;O:28:"app\\properties\\HasProperties":11:{s:44:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'abstract_model";N;s:38:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'eav_rows";N;s:36:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'object";N;s:40:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'properties";N;s:48:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'property_key_to_id";a:0:{}s:53:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'property_id_to_group_id";a:0:{}s:43:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'static_values";N;s:51:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'table_inheritance_row";N;s:48:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'propertiesFormName";N;s:5:"props";N;s:5:"owner";r:149;}i:1;r:207;i:2;r:240;i:3;r:214;i:4;r:247;}}}s:47:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_relationsDependencies";a:1:{s:2:"id";a:2:{s:6:"images";s:6:"images";s:14:"doctorCategory";s:14:"doctorCategory";}}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:6:{s:11:"afterDelete";a:3:{i:0;a:2:{i:0;a:2:{i:0;O:18:"app\\behaviors\\Tree":6:{s:11:"idAttribute";s:2:"id";s:17:"parentIdAttribute";s:9:"parent_id";s:9:"sortOrder";a:2:{s:10:"sort_order";i:4;s:2:"id";i:4;}s:15:"cascadeDeleting";b:0;s:15:"activeAttribute";s:6:"active";s:5:"owner";r:1;}i:1;s:11:"afterDelete";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;O:47:"devgroup\\TagDependencyHelper\\ActiveRecordHelper":2:{s:5:"cache";s:5:"cache";s:5:"owner";r:1;}i:1;s:14:"invalidateTags";}i:1;N;}i:2;a:2:{i:0;a:2:{i:0;O:37:"nhkey\\arh\\ActiveRecordHistoryBehavior":5:{s:7:"manager";s:28:"nhkey\\arh\\managers\\DBManager";s:12:"ignoreFields";a:2:{i:0;s:10:"date_added";i:1;s:13:"date_modified";}s:10:"eventsList";a:4:{i:0;i:0;i:1;i:1;i:2;i:2;i:3;i:3;}s:14:"managerOptions";N;s:5:"owner";r:1;}i:1;s:11:"saveHistory";}i:1;N;}}s:11:"afterInsert";a:2:{i:0;a:2:{i:0;a:2:{i:0;r:311;i:1;s:14:"invalidateTags";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;r:318;i:1;s:11:"saveHistory";}i:1;N;}}s:11:"afterUpdate";a:2:{i:0;a:2:{i:0;a:2:{i:0;r:311;i:1;s:14:"invalidateTags";}i:1;N;}i:1;a:2:{i:0;a:2:{i:0;r:318;i:1;s:11:"saveHistory";}i:1;N;}}s:12:"beforeDelete";a:1:{i:0;a:2:{i:0;a:2:{i:0;O:28:"app\\behaviors\\CleanRelations":1:{s:5:"owner";r:1;}i:1;s:16:"cleanUpRelations";}i:1;N;}}s:12:"beforeInsert";a:1:{i:0;a:2:{i:0;a:2:{i:0;O:31:"yii\\behaviors\\TimestampBehavior":7:{s:18:"createdAtAttribute";s:10:"date_added";s:18:"updatedAtAttribute";s:13:"date_modified";s:5:"value";O:17:"yii\\db\\Expression":2:{s:10:"expression";s:5:"NOW()";s:6:"params";a:0:{}}s:10:"attributes";a:2:{s:12:"beforeInsert";a:1:{i:0;s:10:"date_added";}s:12:"beforeUpdate";a:1:{i:0;s:13:"date_modified";}}s:17:"skipUpdateOnClean";b:1;s:22:"preserveNonEmptyValues";b:0;s:5:"owner";r:1;}i:1;s:18:"evaluateAttributes";}i:1;N;}}s:12:"beforeUpdate";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:364;i:1;s:18:"evaluateAttributes";}i:1;N;}}}s:35:"' . "\0" . 'yii\\base\\Component' . "\0" . '_eventWildcards";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:6:{i:0;r:298;i:1;O:28:"app\\properties\\HasProperties":11:{s:44:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'abstract_model";N;s:38:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'eav_rows";N;s:36:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'object";O:21:"app\\models\\BaseObject":10:{s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:10:{s:2:"id";i:15;s:4:"name";s:13:"OfflineDoctor";s:12:"object_class";s:37:"app\\modules\\shop\\models\\OfflineDoctor";s:17:"object_table_name";s:7:"product";s:28:"column_properties_table_name";s:16:"product_property";s:14:"eav_table_name";s:11:"product_eav";s:21:"categories_table_name";s:16:"product_category";s:18:"link_slug_category";s:26:"product_category_full_slug";s:22:"link_slug_static_value";s:29:"product_static_value_category";s:21:"object_slug_attribute";s:4:"slug";}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:10:{s:2:"id";i:15;s:4:"name";s:13:"OfflineDoctor";s:12:"object_class";s:37:"app\\modules\\shop\\models\\OfflineDoctor";s:17:"object_table_name";s:7:"product";s:28:"column_properties_table_name";s:16:"product_property";s:14:"eav_table_name";s:11:"product_eav";s:21:"categories_table_name";s:16:"product_category";s:18:"link_slug_category";s:26:"product_category_full_slug";s:22:"link_slug_static_value";s:29:"product_static_value_category";s:21:"object_slug_attribute";s:4:"slug";}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:0:{}s:47:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_relationsDependencies";a:0:{}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:3:{s:11:"afterDelete";a:1:{i:0;a:2:{i:0;a:2:{i:0;O:47:"devgroup\\TagDependencyHelper\\ActiveRecordHelper":2:{s:5:"cache";s:5:"cache";s:5:"owner";r:392;}i:1;s:14:"invalidateTags";}i:1;N;}}s:11:"afterInsert";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:424;i:1;s:14:"invalidateTags";}i:1;N;}}s:11:"afterUpdate";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:424;i:1;s:14:"invalidateTags";}i:1;N;}}}s:35:"' . "\0" . 'yii\\base\\Component' . "\0" . '_eventWildcards";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:1:{i:0;r:424;}}s:40:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'properties";N;s:48:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'property_key_to_id";a:0:{}s:53:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'property_id_to_group_id";a:0:{}s:43:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'static_values";N;s:51:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'table_inheritance_row";N;s:48:"' . "\0" . 'app\\properties\\HasProperties' . "\0" . 'propertiesFormName";N;s:5:"props";N;s:5:"owner";r:1;}i:2;r:311;i:3;r:357;i:4;r:364;s:7:"history";r:318;}}'), ]; $_SESSION = [ '__flash' => [], ];