liberty
[ class tree: liberty ] [ index: liberty ] [ all elements ]

Class: BitLinks

Source Location: /liberty/plugins/filter.bitlinks.php

Class Overview

BitBase
   |
   --BitLinks

BitLinks class


Author(s):

Variables

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: BitBase

BitBase::BitBase()
During initialisation, we assign a name which is used by the class.
BitBase::__construct()
BitBase::clearFromCache()
BitBase::expunge()
Delete content object and all related records
BitBase::load()
BitBase::__destruct()

Class Details

[line 141]
BitLinks class



Tags:



[ Top ]


Class Variables

$mLinks =  NULL

[line 148]

mLinks



Tags:

var:  of links pointing to this page
access:  public

Type:   array


[ Top ]



Class Methods


constructor BitLinks [line 156]

TRUE BitLinks( )

Initiate class



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


[ Top ]

method expungeLinks [line 625]

void expungeLinks( numeric $pContentId)

expunge bitlinks in the database



Tags:

access:  public


Parameters:

numeric   $pContentId  

[ Top ]

method extractWikiWords [line 248]

array extractWikiWords( string $pData)

extractWikiWords



Tags:

return:  of wiki words in the data string
access:  public


Parameters:

string   $pData  

[ Top ]

method getAllPages [line 181]

TRUE getAllPages( array $pContentId)

Get all pages linking to a given content id



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters:

array   $pContentId  

[ Top ]

method getLanguage [line 429]

language getLanguage( )

getLanguage



Tags:

access:  public


[ Top ]

method getLocale [line 396]

locale getLocale( )

getLocale



Tags:

access:  public


[ Top ]

method pageExists [line 213]

TRUE pageExists( array $pTitle, array $pObject, array $pContentId)

see if page has already been created and stored



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters:

array   $pTitle   title of the page
array   $pObject   current object
array   $pContentId   content_id of the current page - sometimes we don't have the object but a content_id to work with

[ Top ]

method parseLinks [line 275]

TRUE parseLinks( string $pData, array $pParamHash, object $pObject)

convert wiki links to html links



Tags:

return:  on success, FALSE on failure - mErrors will contain reason for failure
access:  public


Parameters:

string   $pData  
array   $pParamHash  
object   $pObject  

[ Top ]

method renameLinks [line 563]

void renameLinks( array $pContentId, array $pOldName, array $pNewName)

renameLinks



Tags:

access:  public


Parameters:

array   $pContentId  
array   $pOldName  
array   $pNewName  

[ Top ]

method storeLinks [line 452]

store storeLinks( string $pData, array $pFilterHash)

storeLinks



Tags:

return:  wiki links in database
access:  public


Parameters:

string   $pData  
array   $pFilterHash  

[ Top ]


Documentation generated on Wed, 29 Jul 2015 13:56:29 +0000 by phpDocumentor 1.5.0-lsces