public static function processMagicVariables() {
		$variables_object = new \Object\Magic\Variables();
		$variables = $variables_object->get();
		$input = \Request::input(null, true, true);
		foreach ($variables as $k => $v) {
			if (!array_key_exists($k, $input)) {
				self::$settings['flag']['global'][$k] = null;
				continue;
			}
			if ($k == '__content_type') {
				$object = new \Object\Content\Types();
				$data = $object->get();
				if (isset($data[$input[$k]])) {
					self::$settings['flag']['global'][$k] = $input[$k];
				}
			} else {
				self::$settings['flag']['global'][$k] = $input[$k];
			}
		}
	}
public static function processMagicVariables() {
		$variables_object = new \Object\Magic\Variables();
		$variables = $variables_object->get();
		$input = \Request::input(null, true, true);
		foreach ($variables as $k => $v) {
			if (!array_key_exists($k, $input)) {
				self::$settings['flag']['global'][$k] = null;
				continue;
			}
			if ($k == '__content_type') {
				$object = new \Object\Content\Types();
				$data = $object->get();
				if (isset($data[$input[$k]])) {
					self::$settings['flag']['global'][$k] = $input[$k];
				}
			} else {
				self::$settings['flag']['global'][$k] = $input[$k];
			}
		}
	}
public static function processMagicVariables ( ) { $ variables_object = new \ Object \ Magic \ Variables ( ) ; $ variables = $ variables_object -> get ( ) ; $ input = \ Request :: input ( null , true , true ) ; foreach ( $ variables as $ k => $ v ) { if ( ! array_key_exists ( $ k , $ input ) ) { self :: $ settings [ 'flag' ] [ 'global' ] [ $ k ] = null ; continue ; } if ( $ k == '__content_type' ) { $ object = new \ Object \ Content \ Types ( ) ; $ data = $ object -> get ( ) ; if ( isset ( $ data [ $ input [ $ k ] ] ) ) { self :: $ settings [ 'flag' ] [ 'global' ] [ $ k ] = $ input [ $ k ] ; } } else { self :: $ settings [ 'flag' ] [ 'global' ] [ $ k ] = $ input [ $ k ] ; } } }
Process magic variables
Process magic variables