public function embed($name, $options = null)
	{
		if ($this->options && !$options)
		{
			$options = $this->options;
		}

		switch (strtolower($name))
		{
			case 'maps':
				return new Embed\Maps($options);

			case 'analytics':
				return new Embed\Analytics($options);

			default:
				return null;
		}
	}
public function embed($name, $options = null)
	{
		if ($this->options && !$options)
		{
			$options = $this->options;
		}

		switch (strtolower($name))
		{
			case 'maps':
				return new Embed\Maps($options);

			case 'analytics':
				return new Embed\Analytics($options);

			default:
				return null;
		}
	}
public function embed ( $ name , $ options = null ) { if ( $ this -> options && ! $ options ) { $ options = $ this -> options ; } switch ( strtolower ( $ name ) ) { case 'maps' : return new Embed \ Maps ( $ options ) ; case 'analytics' : return new Embed \ Analytics ( $ options ) ; default : return null ; } }
Method to create Embed objects

@param   string  $name     Name of property to retrieve
@param   array   $options  Google options object.

@return  Embed  Google embed API object.

@since   1.0
Method to create Embed objects