URL
Summary
Validates and stores a URL / address.Properties
Name | Internal name | Searchable | Information collector |
---|---|---|---|
URL | ezurl | No. | No. |
Description
This datatype allows the validation and storage of a hyperlink. The following screenshot shows the class attribute edit interface for this datatype.
![Class attribute edit interface for the "URL" datatype.](../../../../../var/doc/storage/images/ez_publish/technical_manual/4_0/images/reference/datatypes/url_class_attribute_edit_interface/6664-2-eng-GB/url_class_attribute_edit_interface_doc.png)
Class attribute edit interface for the "URL" datatype.
Object attribute edit interface
For each link, an address and an additional text may be stored. The following screenshot shows the object attribute edit interface for this datatype.
![Object attribute edit interface for the "URL" datatype.](../../../../../var/doc/storage/images/ez_publish/technical_manual/4_0/images/reference/datatypes/url_object_attribute_edit_interface/7766-2-eng-GB/url_object_attribute_edit_interface_doc.png)
Object attribute edit interface for the "URL" datatype.
URL storage and checking
URLs that are input, either using the URL or the XML block datatype, are stored and handled in a special way. This solution makes it possible to view, edit and check if the URLs actually work on a massive scale.
Important note
Keep in mind that if an URL is marked as invalid by the linkcheck.php cronjob script, the has_content attribute for the matching ezurl attribute will return FALSE. The has_content attribute normally only returns FALSE if the attribute has no content.
Please refer to the "URL storage" section of the "Concepts and basics" chapter for more information about this feature.
Raw output
The ".content" of an ezcontentobjectattribute object using this datatype returns a string containing the actual address.
Balazs Halasy (21/02/2005 2:44 pm)
Ester Heylen (12/07/2010 5:29 pm)
Comments
'Text' given by .data_text
Saturday 11 November 2006 12:51:19 am
Matthew
Re: 'Text' given by .data_text
Tuesday 10 June 2008 10:46:04 am
Gaetano Giunta