public function getElementTitle()
	{
		throw new \Exception('Dont use me bro.');

		$title = null;

		switch ($this->resource) {

			case self::RESOURCE_PAGE:
				$pageData = $this->getPage();

				/* @var $pageData Localization */
				if ( ! is_null($pageData)) {
					$title = $pageData->getTitle();
				}
				break;

			case self::RESOURCE_FILE:
				$file = $this->getFile();

				if ($file instanceof File) {
					$localeId = ObjectRepository::getLocaleManager($this)
							->getCurrent()
							->getId();

					$title = $file->getTitle($localeId);
				}

				break;

			case self::RESOURCE_LINK:
				if ( ! empty($this->title)) {
					$title = $this->title;
				} else {
					$title = $this->getHref();
				}

				break;

			case self::RESOURCE_EMAIL:
				if ( ! empty($this->title)) {
					$title = $this->title;
				} else {
					$title = str_replace('mailto:', '', $this->getHref());
				}

			case self::RESOURCE_RELATIVE_PAGE:
				$href = $this->getHref();
				if ($href == self::RELATIVE_FIRST) {
					$title = 'First child';
				} else {
					$title = 'Last child';
				}
				break;

			default:
				$this->log()->warn("Unrecognized resource for supra html markup link tag, data: $this");
		}

		return $title;
	}