◆ __construct()
__construct |
( |
|
$href, |
|
|
|
$templated = false , |
|
|
|
$name = null , |
|
|
|
$hreflang = null , |
|
|
|
$title = null |
|
) |
| |
Public constructor of a FOFHalLink object
- Paramètres
-
string | $href | See $this->_href |
boolean | $templated | See $this->_templated |
string | $name | See $this->_name |
string | $hreflang | See $this->_hreflang |
string | $title | See $this->_title |
- Exceptions
-
RuntimeException | If $href is empty |
Références $href, $name, et $title.
◆ __get()
Magic getter for the protected properties
- Paramètres
-
string | $name | The name of the property to retrieve, sans the underscore |
- Renvoie
- mixed Null will always be returned if the property doesn't exist
Références $name, et null.
◆ __set()
Magic setter for the protected properties
- Paramètres
-
string | $name | The name of the property to set, sans the underscore |
mixed | $value | The value of the property to set |
- Renvoie
- void
Références $name, et $value.
◆ check()
Is this a valid link? Checks the existence of required fields, not their values.
- Renvoie
- boolean
◆ $_href
◆ $_hreflang
◆ $_name
◆ $_templated
◆ $_title
La documentation de cette classe a été générée à partir du fichier suivant :