;auth=@: * * @author Michael Slusarz * @category Horde * @copyright 2014-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Imap_Client * @since 2.25.0 */ class Horde_Imap_Client_Url_Pop3 extends Horde_Imap_Client_Url_Base { /** */ public function __get($name) { switch ($name) { case 'port': return parent::__get($name) ?: 110; default: return parent::__get($name); } } /** * Create a POP3 URL (RFC 2384). * * @return string A URL string. */ public function __toString() { $url = 'pop://' . parent::__toString(); if (($port = $this->port) != 110) { $url .= ':' . $port; } return $url . '/'; } /** */ protected function _parseUrl(array $data) { } }