link_Core Class Reference

Help class for handling links that could contain chars that would break Kohanas routing ('/'). More...

Public Member Functions

 encode ($str)
 Encode a string so that it is possible to use it without risk in Kohana.
 decode ($str)
 Decode a string that has been encoded using the encode method.

Static Public Member Functions

static linkify ($text)
 Primitively 'detect' URI:s in a text and wrap in a html anchor element.

Detailed Description

Help class for handling links that could contain chars that would break Kohanas routing ('/').


Member Function Documentation

link_Core::decode ( str  ) 

Decode a string that has been encoded using the encode method.

The 'all' string has been given a special meaning and is therefore not decoded.

Parameters:
$str 
Returns:
decoded string
link_Core::encode ( str  ) 

Encode a string so that it is possible to use it without risk in Kohana.

The 'all' string has been given a special meaning and is therefore not encoded.

Parameters:
$str 
Returns:
str encoded string
static link_Core::linkify ( text  )  [static]

Primitively 'detect' URI:s in a text and wrap in a html anchor element.

Parameters:
$text string
Returns:
string

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 18 Feb 2013 for ninja by  doxygen 1.6.1