CMSimple_XH
|
The links for the link checker. More...
Public Member Functions | |
__construct ($url, $text) | |
Initializes a new instance. More... | |
getURL () | |
Returns the URL. More... | |
getText () | |
Returns the link text. More... | |
getStatus () | |
Returns the link status. More... | |
setStatus ($status) | |
Sets the link status. More... | |
Public Attributes | |
const | STATUS_UNKNOWN |
Unknown URI scheme. | |
const | STATUS_MAILTO |
A mailto: link. | |
const | STATUS_INTERNALFAIL |
General internal checking failure. | |
const | STATUS_EXTERNALFAIL |
General external checking failure. | |
const | STATUS_CONTENT_NOT_FOUND |
Content for checking internal link couldn't be found. | |
const | STATUS_FILE_NOT_FOUND |
Linked file couldn't be found. | |
const | STATUS_ANCHOR_MISSING |
Linked anchor (URI fragment) is missing. | |
const | STATUS_TEL |
A tel: link. | |
const | STATUS_NOT_CHECKED |
Link has not been checked according to configuration. | |
The links for the link checker.
XH\Link::__construct | ( | $url, | |
$text | |||
) |
Initializes a new instance.
string | $url | A URL. |
string | $text | A link text. |
XH\Link::getStatus | ( | ) |
Returns the link status.
XH\Link::getText | ( | ) |
Returns the link text.
XH\Link::getURL | ( | ) |
Returns the URL.
XH\Link::setStatus | ( | $status | ) |
Sets the link status.
int | $status | A link status. |