Overview

Namespaces

  • MOC
    • Adapter
    • Core
      • Changelog
      • Depending
      • Drive
        • Directory
        • File
      • Error
        • Register
        • Type
      • Journal
      • Proxy
      • Template
      • Xml
    • Extension
      • Excel
      • Flot
      • Mail
      • Pdf
      • Word
      • Xml
      • YUICompressor
      • Zip
    • Generic
      • Common
      • Device
        • Extension
        • Widget
    • Module
      • Database
        • Driver
      • Drive
      • Image
        • Font
      • Installer
      • Network
        • Ftp
          • Directory
          • File
          • Transport
        • Http
        • ParcelTracker
          • Carrier
      • Office
        • Chart
          • Axis
        • Document
          • Excel
            • Cell
              • Format
              • Style
                • Border
                  • Bottom
                  • Left
                  • Right
                  • Top
                • Font
            • Close
            • Page
            • Worksheet
          • Pdf
            • Close
            • Font
            • Page
              • Margin
              • Position
            • Text
          • Xml
            • Close
        • Image
        • Mail
          • Address
          • Content
      • Packer
        • Yui
        • Zip
      • Template
    • Plugin
      • Gateway
      • Repository
      • Shared
  • PHP

Classes

  • Gateway
  • Repository
  • Shared
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
  • Download

Class Shared

Direct known subclasses

MOC\Plugin\Shared\Documentation, MOC\Plugin\Shared\mocJavaScriptHelper, MOC\Plugin\Shared\mocStyleSheetHelper, MOC\Plugin\Shared\MusicPlayer, MOC\Plugin\Shared\VideoPlayer

Indirect known subclasses

MOC\Plugin\Gateway\Documentation, MOC\Plugin\Gateway\mocJavaScriptHelper, MOC\Plugin\Repository\mocStyleSheetHelper, MOC\Plugin\Gateway\mocStyleSheetHelper, MOC\Plugin\Gateway\MusicPlayer, MOC\Plugin\Gateway\VideoPlayer, MOC\Plugin\Repository\Documentation, MOC\Plugin\Repository\FlashMp3Player, MOC\Plugin\Repository\FlowPlayer, MOC\Plugin\Repository\HtmlPlayer, MOC\Plugin\Repository\mocJavaScriptHelper
Abstract
Namespace: MOC\Plugin
Located at Plugin/Shared.php
Methods summary
final public
# PluginJavaScript( MOC\Module\Drive\File $File )

Register javascript files to load

Register javascript files to load

THIS SHOULD BE USED IN PluginLoader()

Parameters

$File
MOC\Module\Drive\File
$File
final public
# PluginStyleSheet( MOC\Module\Drive\File $File )

Register stylesheet files to load

Register stylesheet files to load

THIS SHOULD BE USED IN PluginLoader()

Parameters

$File
MOC\Module\Drive\File
$File
final public string
# PluginName( )

Determine the name of the plugin

Determine the name of the plugin

Returns

string
final public string
# PluginGateway( )

Determine the gateway used by the plugin

Determine the gateway used by the plugin

Returns

string
public boolean
# PluginCapable( )

This method is used to determine if the plugin can handle the required task

This method is used to determine if the plugin can handle the required task

Return TRUE if your plugin is able to handle the task specified by the configuration

Example:

VideoPlayer-Plugin can handle only flv ?

  • Return only true if the source IS flv

This way the manager is able to search for another plugin to handle other formats

Returns

boolean
public boolean
# PluginLoader( )

This method is used to execute pre-usage code

This method is used to execute pre-usage code

Returns

boolean
API documentation generated by ApiGen 2.8.0