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

Class: BaseW3sEditorContentsImage

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

Class BaseW3sEditorContentsImage

Class Overview

BaseW3sEditorContentsImage is the base class that renders the editor to manage an image content.

Located in /lib/w3studioCmsCore/editor/plugins/BaseW3sEditorContentsImage.class.php [line 23]

w3sEditorContents
   |
   --BaseW3sEditorContentsImage
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   $attributes  
mixed   $editorSkeleton  
mixed   $image  
mixed   $previewSkeleton  
mixed   $toolbarFile  

[ Top ]
Method Summary
BaseW3sEditorContentsImage   __construct()   Constructor.
string   drawEditor()   Draws the images editor
string   drawImagesList()   Draws a list of images
string   drawPreviewWindow()   Draws the image's preview window
string   drawProperties()   Draws the image's properties
string   drawToolbar()   Draws the editor's toolbar
string   getPreviewSkeleton()   Returns the value of the previewSkeleton variable.
void   setPreviewSkeleton()   Sets the value of the previewSkeleton variable.

[ Top ]
Properties
mixed   $attributes [line 28]
API Tags:
Access:  protected


[ Top ]
mixed   $editorSkeleton =
'<div class="w3s_toolbar"><table cellspacing="0" cellpadding="0">%s</table></div>
<table cellspacing="4">
<tbody>
<tr>
<td colspan="2" align="left">%s</td>
</tr>
<tr>
<td valign="top">%s</td>
<td valign="top">%s</td>
<td valign="top">%s</td>
<input type="submit" id="w3s_uploader_support" onclick="ImageManager.refreshImagelist(); return false;" />
</tr>
<tbody>
</table>'
[line 28]
API Tags:
Access:  protected


Redefinition of:
w3sEditorContents::$editorSkeleton

[ Top ]
mixed   $image [line 26]
API Tags:
Access:  protected


[ Top ]
mixed   $previewSkeleton =
'<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td>
<div id="w3s_image_preview">%s</div>
</td>
</tr>
<tr>
<td class="align_right">
%s
<span id="w3s_editor_canvas">%s</span> %%
</td>
</tr>
</tbody>
</table>'
[line 44]
API Tags:
Access:  protected


[ Top ]
mixed   $toolbarFile [line 27]
API Tags:
Access:  protected


[ Top ]
Methods
Constructor __construct  [line 68]

  BaseW3sEditorContentsImage __construct( object The $content, [string $editorId = null]  )

Constructor.

Parameters:
object The   $content:  w3sContent object to edit
string   $editorId:  The id of the editor

API Tags:
Access:  public


Redefinition of:
w3sEditorContents::__construct()
Constructor.

[ Top ]
drawEditor  [line 105]

  string drawEditor( )

Draws the images editor


API Tags:
Access:  public


Redefinition of:
w3sEditorContents::drawEditor()

[ Top ]
drawImagesList  [line 116]

  string drawImagesList( )

Draws a list of images


API Tags:
Access:  protected


[ Top ]
drawPreviewWindow  [line 143]

  string drawPreviewWindow( $previewWidth, $previewHeight  )

Draws the image's preview window

Parameters:
   $previewWidth: 
   $previewHeight: 

API Tags:
Access:  protected


[ Top ]
drawProperties  [line 156]

  string drawProperties( )

Draws the image's properties


API Tags:
Access:  protected


[ Top ]
drawToolbar  [line 128]

  string drawToolbar( )

Draws the editor's toolbar


API Tags:
Access:  protected


[ Top ]
getPreviewSkeleton  [line 94]

  string getPreviewSkeleton( )

Returns the value of the previewSkeleton variable.


API Tags:
Access:  public


[ Top ]
setPreviewSkeleton  [line 83]

  void setPreviewSkeleton( string $value  )

Sets the value of the previewSkeleton variable.

Parameters:
string   $value: 

API Tags:
Access:  public


[ Top ]

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