Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • PimPlugin
  • PimPluginArchiveExtractor
  • PimPluginCollection
  • PimPluginRelations
  • PimPluginRelationsCollection
  • PimPluginSetup
  • PimPluginSetupInstall
  • PimPluginSetupStatus
  • PimPluginSetupUninstall
  • PimPluginSetupUpdate
  • PimPluginViewDependencies
  • PimPluginViewNavSub
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class PimPlugin

Single Plugin Manager Item

cGenericDb
Extended by cItemBaseAbstract
Extended by Item
Extended by PimPlugin
Package: PluginManager
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Frederic Schneider
Located at plugins/pim/classes/class.pim.plugin.collection.php
Methods summary
public
# __construct( mixed $id = false )

Constructor Function

Constructor Function

Parameters

$id
mixed
$id Specifies the id of item to load

Throws

cDbException
cException

Overrides

Item::__construct()
public boolean
# setField( string $name, mixed $value, boolean $bSafe = true )

Userdefined setter for pim fields.

Userdefined setter for pim fields.

Parameters

$name
string
$name
$value
mixed
$value
$bSafe
boolean
$bSafe Flag to run defined inFilter on passed value

Returns

boolean

Overrides

Item::setField()
public boolean
# checkDependedFromOtherPlugins( integer $newOrder )

Check dependencies Adapted from PimPLuginSetup class

Check dependencies Adapted from PimPLuginSetup class

Parameters

$newOrder
integer
$newOrder New executionorder value

Returns

boolean

Throws

cException
cInvalidArgumentException
public boolean
# checkDependenciesToOtherPlugins( integer $newOrder )

Check dependencies Adapted from PimPLuginSetup class

Check dependencies Adapted from PimPLuginSetup class

Parameters

$newOrder
integer
$newOrder New executionorder value

Returns

boolean

Throws

cException
cInvalidArgumentException
public boolean
# updateExecOrder( integer $newOrder )

Change the execution order of this plugin and update the order for every other plugin

Change the execution order of this plugin and update the order for every other plugin

Parameters

$newOrder
integer
$newOrder New execution order for this plugin

Returns

boolean

Throws

cDbException
cException
cInvalidArgumentException
public boolean
# isPluginAvailable( string $pluginname )

Check if plugin exists and is active

Check if plugin exists and is active

Parameters

$pluginname
string
$pluginname

Returns

boolean
true iv available, false if it is not available

Throws

cDbException
cException
Methods inherited from Item
_inFilter(), _loadByWhereClause(), _onLoad(), _resetItem(), _setMetaObject(), deleteProperty(), deletePropertyById(), get(), getField(), getMetaObject(), getProperty(), loadBy(), loadByMany(), loadByPrimaryKey(), loadByRecordSet(), outFilter(), set(), setFilters(), setProperty(), store(), toArray(), toObject()
Methods inherited from cItemBaseAbstract
__get(), __set(), _getPropertiesCollectionInstance(), _getSecondDBInstance(), _setLoaded(), _setPrimaryKeyName(), escape(), getPrimaryKeyName(), isLoaded()
Methods inherited from cGenericDb
_executeCallbacks(), register(), unregister()
Constants inherited from cGenericDb
CREATE_BEFORE, CREATE_FAILURE, CREATE_SUCCESS, DELETE_BEFORE, DELETE_FAILURE, DELETE_SUCCESS, STORE_BEFORE, STORE_FAILURE, STORE_SUCCESS
Properties summary
protected string $_error
#

Error storage

Error storage

Properties inherited from Item
$_arrInFilters, $_arrOutFilters, $_lastSQL, $_metaObject, $modifiedValues, $oldPrimaryKey, $values
Properties inherited from cItemBaseAbstract
$_className, $_loaded, $_oCache, $_primaryKeyName, $_settings, $db, $lasterror, $properties, $secondDb, $table
CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0