Méthode | Description | |
---|---|---|
extractAttributeFromXml ( SimpleXMLElement $xml, $namespacePrefix, $attribute ) : string | Get a specific attribute in a namespaced tag | |
extractEndpoint ( string $url ) : string | Extracts the endpoint from a full google spreadsheet url. | |
getLinkHref ( SimpleXMLElement $xml, string $rel ) : string | Extracts the href for a specific rel from an xml object. |
public static extractAttributeFromXml ( SimpleXMLElement $xml, $namespacePrefix, $attribute ) : string | ||
$xml | SimpleXMLElement | |
Résultat | string |
public static extractEndpoint ( string $url ) : string | ||
$url | string | |
Résultat | string |
public static getLinkHref ( SimpleXMLElement $xml, string $rel ) : string | ||
$xml | SimpleXMLElement | |
$rel | string | the value of the rel attribute whose href you want |
Résultat | string |