phpDocumentor sfW3studioCMSPlugin
BaseW3sControlPanel
[ class tree: sfW3studioCMSPlugin ] [ index: sfW3studioCMSPlugin ] [ all elements ]

Class: BaseW3sControlPanel

Source Location: /lib/w3studioCmsCore/editor/plugins/BaseW3sControlPanel.class.php

Class BaseW3sControlPanel

Class Overview

Implements interfaces:

BaseW3sControlPanel is the base class that renders the control panel skeleton.

By default Control Panel is placed on the right-top corner of the page and contains all the tools you need to manage pages, groups, languages, slots and metatags.

Located in /lib/w3studioCmsCore/editor/plugins/BaseW3sControlPanel.class.php [line 26]



		
				Author(s):
		
		
		API Tags:
Abstract:  

Information Tags:

Properties

Methods

[ Top ]
Property Summary
mixed   $currentUser  
mixed   $languagesPanelSkeleton  
mixed   $panelSkeleton  
mixed   $titleSkeleton  

[ Top ]
Method Summary
BaseW3sControlPanel   __construct()   Constructor.
string   drawContentsTabs()   Draws the panel that contains the current section used. Renders the deafult section, that is the fileManager
string   drawLanguagesPanel()   Draws the control panel to manage languages
string   drawLanguagesSelect()   Draws a select which contains all the site's languages
string   drawTabsPanel()   Draws the tabbed panel to change panel
string   drawTitle()   Draws the panel title.
string   render()   Implements the interface w3sEditor.

[ Top ]
Properties
mixed   $currentUser [line 29]
API Tags:
Access:  protected


[ Top ]
mixed   $languagesPanelSkeleton = '
<ul>
<li>%s</li>
<li id="w3s_languages">%s</li>
<li>%s</li>
<li>%s</li>
<li>%s</li>
<li>%s</li>
</ul>'
[line 42]
API Tags:
Access:  protected


[ Top ]
mixed   $panelSkeleton =
'<div>
<div id="w3s_control_panel_title">%s</div>
<div id="w3s_error"></div>
<div id="w3s_control_panel_languages_panel">%s</div>
<div id="w3s_control_panel_tabs_panel">%s</div>
<div id="w3s_control_panel_content_panel">%s</div>
</div>'
[line 30]
API Tags:
Access:  protected


[ Top ]
mixed   $titleSkeleton = '
<div style="float:left;">%s</div>
<div style="float:right;">%s</div>
<div style="clear:right;"></div>'
[line 38]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 60]

  BaseW3sControlPanel __construct( [object An $currentUser = null], [int $idLanguage = 0], [int $currentPage = 0]  )

Constructor.

Parameters:
object An   $currentUser:  object that represents the current user
int   $idLanguage:  The id of the current language
int   $currentPage:  The id of the current page

API Tags:
Access:  public


[ Top ]
drawContentsTabs  [line 148]

  string drawContentsTabs( )

Draws the panel that contains the current section used. Renders the deafult section, that is the fileManager


API Tags:
Return:  The drawed panel
Access:  protected


[ Top ]
drawLanguagesPanel  [line 112]

  string drawLanguagesPanel( )

Draws the control panel to manage languages


API Tags:
Return:  The drawed panel
Access:  protected


[ Top ]
drawLanguagesSelect  [line 87]

  string drawLanguagesSelect( )

Draws a select which contains all the site's languages


API Tags:
Return:  The drawed select
Access:  public


[ Top ]
drawTabsPanel  [line 130]

  string drawTabsPanel( )

Draws the tabbed panel to change panel


API Tags:
Return:  The drawed panel
Access:  protected


[ Top ]
drawTitle  [line 101]

  string drawTitle( )

Draws the panel title.


API Tags:
Return:  The drawed title
Access:  protected


[ Top ]
render  [line 73]

  string render( )

Implements the interface w3sEditor.


API Tags:
Return:  The rendered panel
Access:  public


Implementation of:
w3sEditor::render()

[ Top ]

Documentation generated on Tue, 11 Aug 2009 14:52:53 +0200 by phpDocumentor 1.4.0