LinkAbstractor
class LinkAbstractor extends ConcreteObject (View source)
Properties
| $error | from ConcreteObject | ||
| static private | $blackListImgAttributes | Takes a chunk of content containing full urls and converts them to abstract link references.  | 
                
Methods
No description
Takes a chunk of content containing abstracted link references, and expands them to full urls for displaying on the site front-end.
Takes a chunk of content containing abstracted link references, and expands them to urls suitable for the rich text editor.
For the content block's getImportData() function.
For the content block's export() function.
Replace a placeholder.
Details
        
                            
    loadError($error)
        
    
    No description
        
                            
    isError()
        
    
    No description
        
                            
    getError()
        
    
    No description
        
                            
    setPropertiesFromArray($arr)
        
    
    No description
        
                static            
    camelcase($file)
        
    
    No description
        
                static            
    uncamelcase($string)
        
    
    No description
        
                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.
        
                static    protected        string
    replacePlaceholder(string $text, string $pattern, callable $resolver, bool $caseSensitive = false)
        
    
    Replace a placeholder.