Class SyncPages

Description

Wicked SyncPages class.

$Horde: wicked/lib/Page/SyncPages.php,v 1.2.2.4 2010/04/26 15:39:36 jan Exp $

Copyright 2008-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (GPL). If you did not receive this file, see http://www.fsf.org/copyleft/gpl.html.

Located in /lib/Page/SyncPages.php (line 19)

Page
   |
   --SyncPages
Direct descendents
Class Description
 class SyncDiff Wicked SyncDiff class.
Variable Summary
 mixed $_sync
Method Summary
 SyncPages SyncPages ()
 string content ()
 mixed displayContents ( $isBlock)
 void download ( $pageName)
 void getLocalPageInfo ( $pageName, boolean $local)
 void getRemotePageInfo ( $pageName, boolean $local)
 void pageName ()
 void pageTitle ()
 void upload ( $pageName)
 void _loadSyncDriver ()
 void _syncForm ()
 void _viewLink ( $pageName, [ $local = true])
Variables
mixed $supportedModes = array(
WICKED_MODE_CONTENT => true)
(line 24)

Display modes supported by this page.


Redefinition of:
Page::$supportedModes
Display modes supported by this page. Possible modes:

Redefined in descendants as:
mixed $_sync (line 30)

Sync driver


Redefined in descendants as:

Inherited Variables

Inherited from Page

Page::$_page
Page::$_proc
Methods
Constructor SyncPages (line 35)

Constructor

SyncPages SyncPages ()
content (line 59)

Render this page in Content mode.

  • return: The page content, or PEAR_Error.
string content ()

Redefined in descendants as:
displayContents (line 144)

Render this page in display or block mode.

  • return: Returns page contents or PEAR_Error
mixed displayContents ( $isBlock)
  • $isBlock

Redefinition of:
Page::displayContents()

Redefined in descendants as:
download (line 358)

Download remote page to local server

void download ( $pageName)
  • $pageName
getLocalPageInfo (line 320)

Get page info

void getLocalPageInfo ( $pageName, boolean $local)
  • boolean $local: Get local or remote info
  • $pageName
getRemotePageInfo (line 342)

Get page info

void getRemotePageInfo ( $pageName, boolean $local)
  • boolean $local: Get local or remote info
  • $pageName
pageName (line 159)

Page name

void pageName ()

Redefinition of:
Page::pageName()

Redefined in descendants as:
pageTitle (line 167)

Page title

void pageTitle ()

Redefinition of:
Page::pageTitle()

Redefined in descendants as:
upload (line 405)

Upload local page to remote server

void upload ( $pageName)
  • $pageName
_loadSyncDriver (line 435)

Load sync driver

void _loadSyncDriver ()
_syncForm (line 187)

Get and process sync info form

void _syncForm ()
_viewLink (line 175)

Prepare page link

void _viewLink ( $pageName, [ $local = true])
  • $pageName
  • $local

Inherited Methods

Inherited From Page

 Page::allows()
 Page::author()
 Page::block()
 Page::diff()
 Page::display()
 Page::displayContents()
 Page::formatVersionCreated()
 Page::getCurrentPage()
 Page::getPage()
 Page::getPermissions()
 Page::getProcessor()
 Page::getText()
 Page::handleAction()
 Page::history()
 Page::hits()
 Page::isLocked()
 Page::isOld()
 Page::isValid()
 Page::lock()
 Page::pageName()
 Page::pageTitle()
 Page::pageUrl()
 Page::preDisplay()
 Page::previousVersion()
 Page::referrer()
 Page::remove()
 Page::render()
 Page::supports()
 Page::unlock()
 Page::updateText()
 Page::version()
 Page::versionCreated()

Documentation generated on Sun, 30 Jan 2011 05:42:57 +0000 by phpDocumentor 1.4.3