public function load($client_id = null)
	{
		if (!is_null($client_id))
		{
			$client = ClientManager::client($client_id, (! is_numeric($client_id)));
		}
		else
		{
			$client = $this->app['client'];
		}

		if (!$client)
		{
			throw new \InvalidArgumentException(sprintf('Invalid client type of "%s".', $client_id));
		}

		return $this->getTemplate((int)$client->id, $this->style);
	}
public function load($client_id = null)
	{
		if (!is_null($client_id))
		{
			$client = ClientManager::client($client_id, (! is_numeric($client_id)));
		}
		else
		{
			$client = $this->app['client'];
		}

		if (!$client)
		{
			throw new \InvalidArgumentException(sprintf('Invalid client type of "%s".', $client_id));
		}

		return $this->getTemplate((int)$client->id, $this->style);
	}
public function load ( $ client_id = null ) { if ( ! is_null ( $ client_id ) ) { $ client = ClientManager :: client ( $ client_id , ( ! is_numeric ( $ client_id ) ) ) ; } else { $ client = $ this -> app [ 'client' ] ; } if ( ! $ client ) { throw new \ InvalidArgumentException ( sprintf ( 'Invalid client type of "%s".' , $ client_id ) ) ; } return $ this -> getTemplate ( ( int ) $ client -> id , $ this -> style ) ; }
Load a template by client

@param   integer  $client_id  The client to load the tmeplate for
@return  string
Load a template by client