class LinkAbstractor extends Object (View source)

Properties

$error from  Object
static private $blackListImgAttributes

Takes a chunk of content containing full urls and converts them to abstract link references.

Methods

loadError($error)

No description

from  Object
isError()

No description

from  Object
getError()

No description

from  Object
setPropertiesFromArray($arr)

No description

from  Object
static 
camelcase($file)

No description

from  Object
static 
uncamelcase($string)

No description

from  Object
static 
translateTo($text)

No description

static 
translateFrom($text)

Takes a chunk of content containing abstracted link references, and expands them to full urls for displaying on the site front-end.

static 
translateFromEditMode($text)

Takes a chunk of content containing abstracted link references, and expands them to urls suitable for the rich text editor.

static 
import($text)

For the content block's getImportData() function.

static 
export($text)

For the content block's export() function.

Details

loadError($error)

No description

Parameters

$error

isError()

No description

getError()

No description

setPropertiesFromArray($arr)

No description

Parameters

$arr

static camelcase($file)

No description

Parameters

$file

static uncamelcase($string)

No description

Parameters

$string

static translateTo($text)

No description

Parameters

$text

static translateFrom($text)

Takes a chunk of content containing abstracted link references, and expands them to full urls for displaying on the site front-end.

Parameters

$text

static translateFromEditMode($text)

Takes a chunk of content containing abstracted link references, and expands them to urls suitable for the rich text editor.

Parameters

$text

static import($text)

For the content block's getImportData() function.

Parameters

$text

static export($text)

For the content block's export() function.

Parameters

$text