For Kohana 3, this is URL :: base () .
From the doc:
// Absolute URL path with no host or protocol echo URL::base(); // Absolute URL path with host, https protocol and index.php if set echo URL::base('https', TRUE); // Absolute URL path with host and protocol from $request echo URL::base($request);
Ref .: http://kohanaframework.org/3.1/guide/api/URL
gimpe source share