Public Member Functions | Public Attributes | Protected Attributes

Link Class Reference

Webmark/Link class: generic web link, URL, URI model. More...

Inheritance diagram for Link:
BEAppObjectModel BEAppModel AppModel

List of all members.

Public Member Functions

 beforeSave ()
 responseForUrl ($url)
 isHttp ($url)
 isHttps ($url)
 checkUrl ($url)
 Check URL format, prepends http:// if absent.
 readHtmlTitle ($url)

Public Attributes

 $actsAs = array()
 $searchFields
 $objectTypesGroups = array('leafs', 'related')

Protected Attributes

 $modelBindings

Detailed Description

Webmark/Link class: generic web link, URL, URI model.

Definition at line 25 of file link.php.


Member Function Documentation

Link::checkUrl ( url  ) 

Check URL format, prepends http:// if absent.

Parameters:
string $url
Returns:
string

Definition at line 110 of file link.php.


Member Data Documentation

Link::$modelBindings [protected]
Initial value:
 array(
        'detailed' =>  array(
            'BEObject' => array(
                'ObjectType',
                'LangText',
                'UserCreated',
                'UserModified',
                'ObjectProperty',
                'RelatedObject',
                'Category',
                'Annotation',
                'Alias',
                'Version' => array('User.realname', 'User.userid'),
            ),
        ),
        'default' => array(
            'BEObject' => array(
                'LangText',
                'ObjectType',
                'RelatedObject',
                'Category',
                'Annotation'
            )
        ),
        'minimum' => array('BEObject' => array('ObjectType')),
        'frontend' => array('BEObject' => array('LangText','RelatedObject','ObjectProperty')),
        'api' => array('BEObject' => array('LangText','ObjectProperty'))
    )

Reimplemented from BEAppModel.

Definition at line 37 of file link.php.

Link::$searchFields
Initial value:
 array(
        'title' => 10,
        'nickname' => 8,
        'description' => 5,
        'url' => 8,
        'note' => 2
    )

Definition at line 29 of file link.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus