yii\base\Component
176789
public function behaviors() {

        return [
            'rbac' => [
                'class' => Yii::$app->cmgCore->getRbacFilterClass(),
                'actions' => [
	                'index' => [ 'permission' => CoreGlobal::PERM_USER ],
	                'update' => [ 'permission' => CoreGlobal::PERM_USER ]
                ]
            ],
            'verbs' => [
                'class' => VerbFilter::className(),
                'actions' => [
                    'index' => [ 'get' ],
                    'update' => [ 'get', 'post' ]
                ]
            ]
        ];
    }
964510
protected function bootComponents()
    {
        $config = $this->config();

        foreach ($this->componentInstances as $instance) {
            $instance->boot($this->app, $config);
        }
    }
474284
public function addBaseUrlScript()
    {
        // Add base Url and absolute base Url to the head
        $arrJsPosHEad = empty($this->js[static::POS_HEAD]) ? [] : $this->js[static::POS_HEAD];
        array_unshift($arrJsPosHEad,
            "var absoluteBaseUrl = \"" . Yii::$app->urlManager->createAbsoluteUrl('site/index') . "\";");
        array_unshift($arrJsPosHEad, "var baseUrl = \"" . Yii::$app->urlManager->baseUrl . "\";");
        $this->js[static::POS_HEAD] = $arrJsPosHEad;
    }
1085412
public function getComponents()
    {
        $components = [
            'Base'                          => 'GetOlympus\Zeus\Base\Controller\Base',
            'BaseWidget'                    => 'GetOlympus\Zeus\Base\Controller\BaseWidget',
            'Helpers'                       => 'GetOlympus\Zeus\Helpers\Controller\Helpers',

            'AdminPage'                     => 'GetOlympus\Zeus\AdminPage\Controller\AdminPage',
            'Ajax'                          => 'GetOlympus\Zeus\Ajax\Controller\Ajax',
            'Configuration'                 => 'GetOlympus\Zeus\Configuration\Controller\Configuration',
            'Cron'                          => 'GetOlympus\Zeus\Cron\Controller\Cron',
            'Error'                         => 'GetOlympus\Zeus\Error\Controller\Error',
            'Field'                         => 'GetOlympus\Zeus\Field\Controller\Field',
            'Hook'                          => 'GetOlympus\Zeus\Hook\Controller\Hook',
            'Metabox'                       => 'GetOlympus\Zeus\Metabox\Controller\Metabox',
            'Option'                        => 'GetOlympus\Zeus\Option\Controller\Option',
            'Posttype'                      => 'GetOlympus\Zeus\Posttype\Controller\Posttype',
            'PosttypeHook'                  => 'GetOlympus\Zeus\Posttype\Controller\PosttypeHook',
            'Render'                        => 'GetOlympus\Zeus\Render\Controller\Render',
            'Request'                       => 'GetOlympus\Zeus\Request\Controller\Request',
            'Template'                      => 'GetOlympus\Zeus\Template\Controller\Template',
            'Term'                          => 'GetOlympus\Zeus\Term\Controller\Term',
            'TermHook'                      => 'GetOlympus\Zeus\Term\Controller\TermHook',
            'Translate'                     => 'GetOlympus\Zeus\Translate\Controller\Translate',
            'WalkerSingle'                  => 'GetOlympus\Zeus\WalkerSingle\Controller\WalkerSingle',
            'Widget'                        => 'GetOlympus\Zeus\Widget\Controller\Widget',
        ];

        // Iterate on externals
        foreach ($this->externals as $shortname => $classname) {
            $components[$shortname] = $classname;
        }

        return $components;
    }
859054
public function init() 
	{
		if(!Yii::app()->user->isGuest) {
			if(Yii::app()->user->level == 1) {
				$arrThemes = $this->currentTemplate('admin');
				Yii::app()->theme = $arrThemes['folder'];
				$this->layout = $arrThemes['layout'];
				$this->moduleHandle = Yii::app()->moduleHandle;
				$this->applyViewPath(__dir__, false);
			}
		} else
			$this->redirect(Yii::app()->createUrl('site/login'));
	}
790796
private static function component()
    {
        $files = ['Component'];
        $folder = static::$root.'Foundation'.'/';

        self::call($files, $folder);
        //
        $files = ['SurfaceDisabledException'];
        $folder = static::$root.'Foundation/Exceptions'.'/';

        self::call($files, $folder);
    }
1039948
public function init()
    {
        // parsing needed if urlFormat 'path'
        if (Yii::app() instanceof CWebApplication) {
            Yii::app()->urlManager->parseUrl(Yii::app()->getRequest());
        }

        // 1. get language preference
        $preferred = null;
        if (isset($_GET[self::DATA_KEY])) {
            // use language from URL
            $preferred = $_GET[self::DATA_KEY];
        } elseif ($this->usePreferred) {
            // use preferred browser language as default
            $preferred = Yii::app()->request->preferredLanguage;
        } else {
            $preferred = Yii::app()->language;
        }

        // 2. select language based on available languages and mappings
        $lang = $this->resolveLanguage($preferred);

        if (is_null($lang) && $this->matchShort === true) {
            $preferredShort = substr($preferred, 0, 2);
            $lang           = $this->resolveLanguage($preferredShort);
        }
        // 3. set the language
        if (in_array($lang, $this->languages)) {
            Yii::app()->setLanguage($lang);
        } else {
            // fallback or output error
            if ($this->fallback) {
                // default app language
            } else {
                throw new CHttpException(404, "Language '{$_GET[self::DATA_KEY]}' is not available.");
            }
        }

        if ($this->localizedHomeUrl) {
            $controller         = new CController('P3LangHandlerDummy');
            Yii::app()->homeUrl = $controller->createUrl('/');
        }
    }
556362
public function init()
	{
		//assert proper model is set
		if ($this->subject === null || !ComponentConfig::isActiveRecord($this->subject, false)) {
			$msg = Yii::t('app', 'Setting the model property of type ActiveRecord is mandatory');
			throw new InvalidConfigException($msg);
		}
		ComponentConfig::hasBehavior($this->subject, CommentsBehavior::className(), true);

		//load the comments
		$this->loadComments();

		//prepare options
		Html::addCssClass($this->options, 'widget-comments');
		Html::addCssClass($this->commentOptions, 'comment');
	}
1326214
public function generateModules()
	{
		$modules = $this->getModulesFromDir();
		$modulePath = Yii::getPathOfAlias('application.modules');
		$moduleComponent = array('assets','components','controllers','models','views');

		if(count($modules) > 0) {
			foreach($modules as $module) {
				$moduleClass = ucfirst($module).'Module';
				$module_path = $modulePath.'/'.$module;
				$module_class = $module_path.'/'.$moduleClass.'.php';

				if(!file_exists($module_class)) {
					$this->generateModuleDirectory($module_path);
	
					foreach($moduleComponent as $component) {
						$module_component_path = $module_path.'/'.$component;
						$this->generateModuleDirectory($module_component_path);
					}

					$config = "<?php\n";
					$config .= "/**\n";
					$config .= " * $moduleClass\n";
					$config .= " *\n";
					$config .= " * @author Putra Sudaryanto <putra@sudaryanto.id>\n";
					$config .= " * @contact (+62)856-299-4114\n";
					$config .= " * @copyright Copyright (c) ".date('Y')." Ommu Platform (www.ommu.co)\n";
					$config .= " * @created date ".date('j F Y, H:i')." WIB\n";
					$config .= " *\n";
					$config .= " *----------------------------------------------------------------------------------------------------------\n */\n\n";
					$config .= "Yii::import('application.vendor.ommu.$module.$moduleClass');";

					if(!file_exists($module_class)) {
						$fileHandle = @fopen($module_class, 'w');
						@fwrite($fileHandle, $config, strlen($config));
						@fclose($fileHandle);
					}
				}
			}
		}
	}
1281084
public function actionComponent($name = null)
    {
        $data = Yii::$app->getComponents();
        if ($name) {
            if (empty($data[$name])) {
                Yii::error("'$name' not defined");

                return;
            }
            $data = [$name => $data[$name]];
        }
        echo Yaml::dump($data, 4);
    }
1103082
public function actionIndex()
    {
        $this->showDescription();
        try {
            $component = $this->getComponent();
            $configList = $this->getConfig($component);
            $config = new Config([
                'files' => $configList,
            ]);
            $builder = new Builder([
                'components' => $config->getComponents(),
                'template' => require __DIR__ . '/template.php',
            ]);
            if ($component->result === null) {
                $component->result = ($this->getDetector()->detect() === 'basic') ?
                    '@app/_ide_components.php' :
                    '@console/../_ide_components.php';
            }
            $result = Yii::getAlias($component->result);
            $result = FileHelper::normalizePath($result);
            if ($builder->build($result)) {
                $this->stdout("Success: {$result}\n", Console::FG_GREEN);
            } else {
                $this->stdout("Fail!\n", Console::FG_RED);
            }
        } catch (Exception $exception) {
            $this->stdout($exception->getMessage() . "\n\n", Console::FG_RED);
            $this->stdout("Please read the package documentation: https://github.com/iiifx-production/yii2-autocomplete-helper\n");
            $this->stdout("or create new issue: https://github.com/iiifx-production/yii2-autocomplete-helper/issues/new\n");
        }
    }
1256668
protected function getFileBasePath()
    {
        if ($this->type == self::TYPE_APP) {
            return Yii::$app->basePath;
        }
        
        return Yii::$app->getModule($this->moduleName)->getBasePath();
    }
216445
public function run()
    {
        $flashMessages = Yii::$app->session->getAllFlashes();
        if (empty($flashMessages)) {
            return;
        }
        $closeLabel = Yii::t('app', 'Close');
        $baseCss = 'alert';
        if ($this->dismissible) {
            $baseCss .= ' alert-dismissible';
            $dismissButton = <<<HTML
<button type="button" class="close" data-dismiss="alert" aria-label="$closeLabel">
    <span aria-hidden="true">&times;</span>
</button>
HTML;
        }
        echo '<div class="flashes">';
        foreach ($flashMessages as $key => $messages) {
            $cssClasses = $baseCss . ' alert-'.(isset($this->map[$key]) ? $this->map[$key] : $key);
            if (!is_array($messages)) {
                $messages = [$messages];
            }
            foreach ($messages as $message) {
                echo '<div class="'.$cssClasses.'" role="alert">'.$dismissButton.$message.'</div>';
            }
        }
        echo '</div>';
    }
600786
public static function getImageComponent()
    {
        // Get image component
        if (is_object(static::$_imageComponent)) {
            $imageComponent = static::$_imageComponent;
        } else {
            $imageComponent = Yii::createObject([
                'class' => 'yii\image\ImageDriver',
            ]);
            // Store component for future using
            static::$_imageComponent = $imageComponent;
        }

        return $imageComponent;
    }
582291
public function load() {

		do_action( 'pods_components_load' );

		foreach ( (array) $this->components as $component => $component_data ) {
			$component_id = $component_data['ID'];

			$component_data['MustUse'] = apply_filters( "pods_component_require_{$component_id}", $component_data['MustUse'], $component_data );

			if ( false === $component_data['MustUse'] && ( ! isset( $this->settings['components'][ $component ] ) || 0 === $this->settings['components'][ $component ] ) ) {
				continue;
			}

			if ( ! empty( $component_data['PluginDependency'] ) ) {
				$dependency = explode( '|', $component_data['PluginDependency'] );

				if ( ! pods_is_plugin_active( $dependency[1] ) ) {
					continue;
				}
			}

			if ( ! empty( $component_data['ThemeDependency'] ) ) {
				$dependency = explode( '|', $component_data['ThemeDependency'] );

				$check = strtolower( $dependency[1] );

				if ( strtolower( get_template() ) !== $check && strtolower( get_stylesheet() ) !== $check ) {
					continue;
				}
			}

			if ( false === $component_data['External'] ) {
				$component_data['File'] = realpath( $this->components_dir . $component_data['File'] );
			}

			if ( empty( $component_data['File'] ) ) {
				pods_transient_clear( 'pods_components' );

				continue;
			}

			if ( ! file_exists( $component_data['File'] ) ) {
				pods_message( 'Pods Component not found: ' . $component_data['File'] );

				pods_transient_clear( 'pods_components' );

				continue;
			}

			include_once $component_data['File'];

			if ( ( ! empty( $component_data['Class'] ) && class_exists( $component_data['Class'] ) ) || isset( $component_data['object'] ) ) {
				if ( ! isset( $this->components[ $component ]['object'] ) ) {
					$this->components[ $component ]['object'] = new $component_data['Class']();
				}

				if ( method_exists( $this->components[ $component ]['object'], 'options' ) ) {
					if ( isset( $this->settings['components'][ $component ] ) ) {
						$this->components[ $component ]['options'] = $this->components[ $component ]['object']->options( $this->settings['components'][ $component ] );
					} else {
						$this->components[ $component ]['options'] = $this->components[ $component ]['object']->options( array() );
					}

					$this->options( $component, $this->components[ $component ]['options'] );
				} else {
					$this->options( $component, array() );
				}

				if ( method_exists( $this->components[ $component ]['object'], 'handler' ) ) {
					$this->components[ $component ]['object']->handler( $this->settings['components'][ $component ] );
				}
			}//end if
		}//end foreach
	}
703043
public function showComponents()
    {
        $components = Component::with('group')->orderBy('order')->orderBy('created_at')->get();

        $this->subMenu['components']['active'] = true;

        return View::make('dashboard.components.index')
            ->withPageTitle(trans_choice('dashboard.components.components', 2).' - '.trans('dashboard.dashboard'))
            ->withComponents($components)
            ->withSubMenu($this->subMenu);
    }
308649
public function init() 
	{
		//register vendor namespace
		$vendor_path = Yii::getPathOfAlias('application.vendor');
		foreach (new DirectoryIterator($vendor_path) as $fileInfo) {
			if($fileInfo->isDot())
				continue;
			
			if($fileInfo->isDir() && !in_array($fileInfo->getFilename(), array('bin','composer')))
				Yii::setPathOfAlias($fileInfo->getFilename(), $vendor_path.'/'.$fileInfo->getFilename());
		}
		//$this->setAlias($vendor_path);
		//register theme namespace
		$theme_path = Yii::getPathOfAlias('webroot.themes');
		$this->setAlias($theme_path, true);
		
		/**
		 * set default themes
		 */
		$theme = $this->getDefaultTheme();
		if(Yii::app()->getRequest()->getParam('theme')) {
			$theme = trim(Yii::app()->getRequest()->getParam('theme'));
		}
		//Yii::app()->theme = $theme;
		
		/**
		 * controllerMap
		 */
		$controllerMap = array();
		// controllerMap for themes
		$publicTheme = $this->getDefaultTheme();
		if($publicTheme)
			$controllerMap = $this->getThemeController($publicTheme);

		$maintenanceTheme = $this->getDefaultTheme('maintenance');
		if($maintenanceTheme && $publicTheme != $maintenanceTheme) {
			if(!empty($controllerMap))
				$controllerMap = array_merge($controllerMap, $this->getThemeController($maintenanceTheme));
			else
				$controllerMap = $this->getThemeController($maintenanceTheme);
		}

		// controllerMap for core module
		$coreControllerPath = 'application.libraries.core.controllers';
		if(!empty($controllerMap))
			$controllerMap = array_merge($controllerMap, $this->getController($coreControllerPath));
		else
			$controllerMap = $this->getController($coreControllerPath);
		Yii::app()->controllerMap = $controllerMap;

		/**
		 * set url manager
		 */
		$rules = array(
			//a standard rule mapping '/' to 'site/index' action
			'' 																	=> 'site/index',
			
			//a standard rule mapping '/login' to 'site/login', and so on
			'<action:(login|logout)>' 											=> 'site/<action>',
			'<slug:[\w\-]+>-<id:\d+>'											=> 'page/view',
			//'<slug:[\w\-]+>'													=> 'page/view',
			// module condition
			'<module:\w+>/<controller:\w+>/<action:\w+>'						=> '<module>/<controller>/<action>',
			//controller condition
			'<controller:\w+>/<action:\w+>'										=> '<controller>/<action>',
		);

		/**
		 * Set default controller for homepage, it can be controller, action or module
		 * example:
		 * controller: 'site'
		 * controller from module: 'pose/site/index'.
		 */
		$default = OmmuPlugins::model()->findByAttributes(array('default' => 1), array(
			'select' => 'folder',
		));
		if($default == null || ($default != null && ($default->folder == '-' || $default->actived == '2'))) {
			$rules[''] = 'site/index';

		} else {
			$folder = $default->folder != '-' ? $default->folder : 'site/index';
			Yii::app()->defaultController = trim($folder);
			$rules[''] =  trim($folder);
		}

		/**
		 * Split rules into 2 part and then insert url from tabel between them.
		 * and then merge all array back to $rules.
		 */
		$module = OmmuPlugins::model()->findAll(array(
			'select'    => 'actived, folder, search',
			'condition' => 'actived = :actived',
			'params' => array(
				':actived' => '1',
			),
		));		

		$moduleRules  = array();
		$sliceRules   = $this->getRulePos($rules);
		if($module !== null) {
			foreach($module as $key => $val) {
				if($val->search == '1') {
$moduleRules[$val->folder] 																= $val->folder;
$moduleRules[$val->folder] 																= $val->folder.'/site/index';
$moduleRules[$val->folder.'/<slug:[\w\-]+>-<id:\d+>'] 									= $val->folder.'/site/view';								// slug-id
//$moduleRules[$val->folder.'/<slug:[\w\-]+>'] 											= $val->folder.'/site/view';								// slug
$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<slug:[\w\-]+>-<id:\d+>'] 			= $val->folder.'/<controller>/view';						// slug-id
//$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<slug:[\w\-]+>'] 					= $val->folder.'/<controller>/view';						// slug
$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<category:\d+>/<slug:[\w\-]+>'] 	= $val->folder.'/<controller>/index';						// category/slug
//$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<slug:[\w\-]+>'] 					= $val->folder.'/<controller>/index';						// slug
$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<action:\w+>/<slug:[\w\-]+>-<id:\d+>'] 		= $val->folder.'/<controller>/<action>';		// slug-id
$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<action:\w+>/<category:\d+>/<slug:[\w\-]+>'] 	= $val->folder.'/<controller>/<action>';		// category/slug
//$moduleRules[$val->folder.'/<controller:[a-zA-Z\/]+>/<action:\w+>/<slug:[\w\-]+>'] 					= $val->folder.'/<controller>/<action>';		// slug
				}
			}
		}
		$rules = array_merge($sliceRules['before'], $moduleRules, $sliceRules['after']);

		Yii::app()->setComponents(array(
			'urlManager' => array(
				'urlFormat' => 'path',
				'showScriptName' => false,
				'rules' => $rules,
			),
		));		

		Yii::setPathOfAlias('modules', Yii::app()->basePath.DIRECTORY_SEPARATOR.'modules');
		
		/**
		 * Registers meta tags declared
		 * google discoverability
		 * google plus
		 * facebook opengraph
		 * twitter
		 */
		$meta = OmmuMeta::model()->findByPk(1);
		$images = $meta->meta_image != '' ? $meta->meta_image : 'meta_default.png';
		$metaImages = Utility::getProtocol().'://'.Yii::app()->request->serverName.Yii::app()->request->baseUrl.'/public/'.$images;
		
		$twitter_photo_size = unserialize($meta->twitter_photo_size);
		$twitter_iphone = unserialize($meta->twitter_iphone);
		if(empty($twitter_iphone))
			$twitter_iphone = array();
		$twitter_ipad = unserialize($meta->twitter_ipad);
		if(empty($twitter_ipad))
			$twitter_ipad = array();
		$twitter_googleplay = unserialize($meta->twitter_googleplay);
		if(empty($twitter_googleplay))
			$twitter_googleplay = array();
		
		// Google Discoverability mata tags
		$point = explode(',', $meta->office_location);
		
		// Facebook mata tags
		$arrayFacebookGlobal = array(
			'og:type'=>$meta->facebook_type == 1 ? 'profile' : 'website',
			'og:title'=>'MY_WEBSITE_NAME',
			'og:description'=>'MY_WEBSITE_DESCRIPTION',
			'og:image'=>$metaImages,
		);
		if($meta->facebook_sitename != '')
			$arrayFacebookGlobal['og:site_name'] = $meta->facebook_sitename;
		if($meta->facebook_see_also != '')
			$arrayFacebookGlobal['og:see_also'] = $meta->facebook_see_also;
		if($meta->facebook_admins != '')
			$arrayFacebookGlobal['fb:admins'] = $meta->facebook_admins;
		
		if($meta->facebook_type == 1) {
			$arrayFacebook = array(
				'profile:first_name'=>$meta->facebook_profile_firstname,
				'profile:last_name'=>$meta->facebook_profile_lastname,
				'profile:username'=>$meta->facebook_profile_username,
			);	
		} else
			$arrayFacebook = array();
		
		// Twitter mata tags
		if($meta->twitter_card == 1) {
			$cardType = 'summary';
			$arrayTwitter = array();
		} else if($meta->twitter_card == 2) {
			$cardType = 'summary_large_image';
			$arrayTwitter = array();
		} else if($meta->twitter_card == 3) {
			$cardType = 'photo';
			$arrayTwitter = array(
				'twitter:image:width'=>$twitter_photo_size['width'],
				'twitter:image:height'=>$twitter_photo_size['height'],
			);
		} else {
			$cardType = 'app';
			if($meta->twitter_country != '')
				$arrayTwitter['twitter:app:country'] = $meta->twitter_country;
			if(!empty($twitter_iphone) && $twitter_iphone['name'])
				$arrayTwitter['twitter:app:name:iphone'] = $twitter_iphone['name'];
			if(!empty($twitter_iphone) && $twitter_iphone['id'])
				$arrayTwitter['twitter:app:id:iphone'] = $twitter_iphone['id'];
			if(!empty($twitter_iphone) && $twitter_iphone['url'])
				$arrayTwitter['twitter:app:url:iphone'] = $twitter_iphone['url'];
			if(!empty($twitter_ipad) && $twitter_ipad['name'])
				$arrayTwitter['twitter:app:name:ipad'] = $twitter_ipad['name'];
			if(!empty($twitter_ipad) && $twitter_ipad['id'])
				$arrayTwitter['twitter:app:id:ipad'] = $twitter_ipad['id'];
			if(!empty($twitter_ipad) && $twitter_ipad['url'])
				$arrayTwitter['twitter:app:url:ipad'] = $twitter_ipad['url'];
			if(!empty($twitter_googleplay) && $twitter_googleplay['name'])
				$arrayTwitter['twitter:app:name:googleplay'] = $twitter_googleplay['name'];
			if(!empty($twitter_googleplay) && $twitter_googleplay['id'])
				$arrayTwitter['twitter:app:id:googleplay'] = $twitter_googleplay['id'];
			if(!empty($twitter_googleplay) && $twitter_googleplay['url'])
				$arrayTwitter['twitter:app:url:googleplay'] = $twitter_googleplay['url'];
			
			if(empty($arrayTwitter))
				$arrayTwitter = array();
		}
		$arrayTwitterGlobal = array(
			'twitter:card'=>$cardType,
			'twitter:site'=>$meta->twitter_site,
			'twitter:title'=>'MY_WEBSITE_NAME',
			'twitter:description'=>'MY_WEBSITE_DESCRIPTION',
			'twitter:image'=>$metaImages,
		);
		if(in_array($meta->twitter_card, array(2)))
			$arrayTwitterGlobal['twitter:creator'] = $meta->twitter_creator;
		if($meta->meta_image_alt != '' && in_array($meta->meta_image_alt, array(1,2)))
			$arrayTwitterGlobal['twitter:image:alt'] = $meta->meta_image_alt;
		
		/**
		 * Registe Meta Tags
		 */ 
		Yii::app()->setComponents(array(
			'meta'=>array(
				'class' => 'application.libraries.core.components.plugin.MetaTags',
				'googleOwnerTags'=>array(	// set default OG tags
					'place:location:latitude'=>$point[0],
					'place:location:longitude'=>$point[1],
					'business:contact_data:street_address'=>$meta->office_place.', '.$meta->office_village.', '.$meta->office_district,
					'business:contact_data:country_name'=>$meta->view->country_name,
					'business:contact_data:locality'=>$meta->view->city_name,
					'business:contact_data:region'=>$meta->office_district,
					'business:contact_data:postal_code'=>$meta->office_zipcode,
					'business:contact_data:email'=>$meta->office_email,
					'business:contact_data:phone_number'=>$meta->office_phone,
					'business:contact_data:fax_number'=>$meta->office_fax,
					'business:contact_data:website'=>$meta->office_website,
				),
				'googlePlusTags'=>array(	// set default OG tags
					'name'=>'MY_WEBSITE_NAME',
					'description'=>'MY_WEBSITE_DESCRIPTION',
					'image'=>$metaImages,
				),
				'facebookTags'=>CMap::mergeArray(
					$arrayFacebookGlobal,
					$arrayFacebook
				),
				'twitterTags'=>CMap::mergeArray(
					$arrayTwitterGlobal,
					$arrayTwitter
				),
			),
		));
	}