MagicCMS Documentation

CheckUrl Members

The CheckUrl type exposes the following members.

Methods


  Name Description
Public method Static member EnsureProtocol
Check if the URL begins with the specified protocol otherwise, it adds.
Public method Static member EnsureProtocolDef
If url doesn't have a protocol, add default protocol.
Public method Static member hasProtocol
Returns true if the url starts with the definition of a protocol