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

Class: BaseW3sEditorContentsMenu

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

Class BaseW3sEditorContentsMenu

Class Overview

BaseW3sEditorContentsMenu is the base class that renders the editor to manage a navigation menu content.

Located in /lib/w3studioCmsCore/editor/plugins/BaseW3sEditorContentsMenu.class.php [line 11]

w3sEditorContents
   |
   --BaseW3sEditorContentsMenu
Author(s): API Tags:
Abstract:  

Information Tags:

Properties

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From w3sEditorContents

w3sEditorContents::$content
w3sEditorContents::$idEditor

Inherited From w3sEditorContents

w3sEditorContents::__construct()
Constructor.
w3sEditorContents::drawEditor()
w3sEditorContents::getEditorSkeleton()
Returns the value of the editorSkeleton variable.
w3sEditorContents::getSitePages()
Retrieves all the site's pages.
w3sEditorContents::render()
Implements the editor.
w3sEditorContents::renderCloseButton()
Draws the button to close the editor.
w3sEditorContents::setEditorSkeleton()
Sets the value of the editorSkeleton variable.

[ Top ]
Property Summary
mixed   $editorSkeleton  
mixed   $jsMenu  
mixed   $menuListItem  
mixed   $menuListSkeleton  
mixed   $optionsSkeleton  

[ Top ]
Method Summary
BaseW3sEditorContentsMenu   __construct()  
void   drawEditor()  
void   drawMenuItem()  
void   drawMenuItems()  
void   drawOptions()  
void   drawProperties()  
void   getJsMenu()  
void   saveLinks()  
void   saveMenuLink()  
void   setJsMenuItem()  

[ Top ]
Properties
mixed   $editorSkeleton = '
<table>
<tr>
<td valign="top">
<div id="w3s_mb_menu">%s</div>
<div id="w3s_mb_commands">%s&nbsp;%s</div>
</td>
<td valign="top">
<div id="w3s_mb_properties">%s</div>
<div id="w3s_menu_options_header">%s</div>
<div id="w3s_menu_options">%s</div>
<div id="w3s_feedback">&nbsp;</div>
</td>
</tr>
<tr>
<td valign="top" colspan="2">
<div style="text-align:center;margin-top:10px;">
<a href="#" class="link_button" id="w3s_edit_content_btn" onclick="activeEditor.edit(); return false;">%s</a>
</div>
</td>
</tr>
</table>%s'
[line 15]
API Tags:
Access:  protected


Redefinition of:
w3sEditorContents::$editorSkeleton

[ Top ]
mixed   $jsMenu = '' [line 14]
API Tags:
Access:  protected


[ Top ]
mixed   $menuListItem = "
<li id=\"item_%1\$s\" value=\"%1\$s\" class=\"menu_items\">
<a href=\"#\" onclick=\"objMenuBuilder.loadMenuProperties(%1\$s);return false;\">
<span id=\"item_text_%1\$s\">%2\$s</span>
</a>
</li>"
[line 44]
API Tags:
Access:  protected


[ Top ]
mixed   $menuListSkeleton = '
<div id="w3s_menu_header">%s</div>
<div id="w3s_menu_items">
<ul id="w3s_mb_list">%s</ul>
</div>'
[line 38]
API Tags:
Access:  protected


[ Top ]
mixed   $optionsSkeleton = '
<form id="w3s_options_form">
<table cellspacing="0" cellpadding="0">
<tr>
<td class="border_bottom_dotted">%s</td>
<td class="border_bottom_dotted">%s</td>
</tr>
<tr>
<td class="border_bottom_dotted">%s</td>
<td class="border_bottom_dotted">%s</td>
</tr>
<tr>
<td class="border_bottom_dotted">%s</td>
<td class="border_bottom_dotted">%s</td>
</tr>
<tr>
<td colspan="2">%s</td>
</tr>
</table>
</form>'
[line 51]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 72]

  BaseW3sEditorContentsMenu __construct( $content, [ $editorId = null]  )

Parameters:
   $content: 
   $editorId: 

API Tags:
Access:  public


Redefinition of:
w3sEditorContents::__construct()
Constructor.

[ Top ]
drawEditor  [line 82]

  void drawEditor( )


API Tags:
Access:  public


Redefinition of:
w3sEditorContents::drawEditor()

[ Top ]
drawMenuItem  [line 112]

  void drawMenuItem( $menu  )

Parameters:
   $menu: 

API Tags:
Access:  protected


[ Top ]
drawMenuItems  [line 94]

  void drawMenuItems( )


API Tags:
Access:  public


[ Top ]
drawOptions  [line 146]

  void drawOptions( )


API Tags:
Access:  protected


[ Top ]
drawProperties  [line 129]

  void drawProperties( )


API Tags:
Access:  protected


[ Top ]
getJsMenu  [line 77]

  void getJsMenu( )


API Tags:
Access:  public


[ Top ]
saveLinks  [line 157]

  void saveLinks( $params  )

Parameters:
   $params: 

API Tags:
Access:  public


[ Top ]
saveMenuLink  [line 216]

  void saveMenuLink( $linkText  )

Parameters:
   $linkText: 

API Tags:
Access:  public


[ Top ]
setJsMenuItem  [line 117]

  void setJsMenuItem( $menu  )

Parameters:
   $menu: 

API Tags:
Access:  protected


[ Top ]

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