Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Structures de données | |
class | AdminModel |
class | BaseDatabaseModel |
class | BaseModel |
interface | DatabaseModelInterface |
class | FormModel |
interface | FormModelInterface |
class | ItemModel |
interface | ItemModelInterface |
class | ListModel |
interface | ListModelInterface |
interface | ModelInterface |
interface | StatefulModelInterface |
interface | WorkflowModelInterface |
Fonctions | |
getDbo () | |
setDbo (DatabaseInterface $db=null) | |
loadForm ($name, $source=null, $options=array(), $clear=false, $xpath=null) | |
loadFormData () | |
preprocessData ($context, &$data, $group='content') | |
preprocessForm (Form $form, $data, $group='content') | |
getFormFactory () | |
getState ($property=null, $default=null) | |
setState ($property, $value=null) | |
populateState () | |
setUpWorkflow ($extension) | |
enableWorkflowBatch () | |
workflowPreprocessForm (Form $form, $data) | |
workflowBeforeStageChange () | |
workflowBeforeSave () | |
workflowAfterSave ($data) | |
batchWorkflowStage (int $value, array $pks, array $contexts) | |
workflowCleanupBatchMove ($oldId, $newId) | |
executeTransition (array $pks, int $transitionId) | |
importWorkflowPlugins () | |
addTransitionField (Form $form, $data) | |
getStageForNewItem (Form $form, $data) | |
Variables | |
trait | DatabaseAwareTrait |
trait | FormBehaviorTrait |
trait | StateBehaviorTrait |
$state = null | |
trait | WorkflowBehaviorTrait |
$section = '' | |
$workflowEnabled = false | |
$workflow | |
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
|
protected |
Adds a transition field to the form. Can be overwritten by the child class if not needed
Références $assoc, $data, $extension, $field, $form, $id, $key, extension, et Joomla\CMS\MVC\Model\getStageForNewItem().
Référencé par Joomla\CMS\MVC\Model\workflowPreprocessForm().
Joomla\CMS\MVC\Model\batchWorkflowStage | ( | int | $value, |
array | $pks, | ||
array | $contexts | ||
) |
Batch change workflow stage or current.
integer | $value | The workflow stage ID. |
array | $pks | An array of row IDs. |
array | $contexts | An array of item contexts. |
Références $this, $user, $value, Joomla\CMS\MVC\Model\$workflow, Text\_(), Factory\getApplication(), et Text\sprintf().
|
protected |
Add the workflow batch to the command list. Can be overwritten bei the child class
Références $this.
Référencé par Joomla\CMS\MVC\Model\setUpWorkflow().
Joomla\CMS\MVC\Model\executeTransition | ( | array | $pks, |
int | $transitionId | ||
) |
Runs transition for item.
array | $pks | Id of items to execute the transition |
integer | $transitionId | Id of transition |
Références $app, $result, Text\_(), et Factory\getApplication().
Référencé par Joomla\CMS\MVC\Model\workflowAfterSave().
Joomla\CMS\MVC\Model\getDbo | ( | ) |
Get the database driver.
Référencé par BaseDatabaseModel\__get(), BaseDatabaseModel\_createTable(), TransitionTable\_getAssetName(), StageTable\_getAssetName(), TransitionTable\_getAssetParentId(), GroupTable\_getAssetParentId(), StageTable\_getAssetParentId(), WorkflowTable\_getAssetParentId(), BaseDatabaseModel\_getList(), BaseDatabaseModel\_getListCount(), admin_postinstall_languageaccess340_condition(), MfaTable\afterDelete(), UpdateModel\applyUpdateSite(), AdminModel\batchCopy(), Usergroup\check(), LinkTable\check(), StageTable\check(), WorkflowTable\check(), JoomlaInstallerScript\clearStatsCache(), JoomlaInstallerScript\convertTablesToUtf8mb4(), HtmlDocument\countMenuChildren(), MenuTable\delete(), StageTable\delete(), WorkflowTable\delete(), CoreContent\delete(), MenuType\delete(), AdminModel\delete(), CoreContent\deleteByContentId(), JoomlaInstallerScript\dropUtf8ConversionTable(), UpdateModel\finaliseUpgrade(), FieldTable\getAssetId(), UpdateModel\getCheckForSelfUpdate(), AssociationsHelper\getLanguagefilterPluginId(), ContentHelper\getLanguageId(), ListModel\getListQuery(), UpdateModel\getNonCoreExtensions(), UpdateModel\getNonCorePlugins(), MfaTable\getNumRecords(), UpdateModel\getUpdateInformation(), Updater\getUpdateSites(), UpdateModel\getUpdateSitesInfo(), httpheaders_postinstall_action(), UpdateModel\isTemplateActive(), PlgContentPagenavigation\onContentBeforeDisplay(), JoomlaInstallerScript\postflight(), UpdateModel\purge(), AdminModel\save(), Language\store(), ContentType\store(), ContactTable\store(), ContentHistory\store(), MenuType\store(), FilterTable\store(), TagTable\store(), Menu\store(), WorkflowTable\store(), StageTable\store(), Category\store(), Content\store(), CoreContent\storeUcmBase(), MfaTable\switchDefaultRecord(), JoomlaInstallerScript\uninstallEosPlugin(), JoomlaInstallerScript\updateContentTypes(), JoomlaInstallerScript\updateDatabase(), JoomlaInstallerScript\updateDatabaseMysql(), et JoomlaInstallerScript\updateManifestCaches().
|
abstract |
Get the FormFactoryInterface.
Référencé par Joomla\CMS\MVC\Model\loadForm(), et MVCFactory\setFormFactoryOnObject().
|
protected |
Try to load a workflow stage for newly created items which does not have a workflow assigned yet. If the category is not the carrier, overwrite it on your model and deliver your own carrier.
Références $data, $field, $form, null, et value.
Référencé par Joomla\CMS\MVC\Model\addTransitionField(), et Joomla\CMS\MVC\Model\workflowAfterSave().
Method to get state variables.
string | $property | Optional parameter name |
mixed | $default | Optional default value |
Références $default, null, et Joomla\CMS\MVC\Model\populateState().
Référencé par InstallerModel\_getList(), PluginsModel\_getList(), ModulesModel\_getList(), UpdateModel\_getList(), TasksModel\_getList(), ContactModel\buildContactExtendedData(), AdminModel\checkin(), TemplateModel\checkNewName(), AdminModel\checkout(), TemplateModel\child(), TemplateModel\cleanup(), BannerModel\click(), TemplateModel\copy(), TemplateModel\copyStyles(), TracksModel\delete(), OverridesModel\delete(), MediumModel\delete(), TemplateModel\fixTemplateName(), UserModel\getAssignedGroups(), CategoriesModel\getAssoc(), CategoryModel\getAssoc(), TracksModel\getBaseName(), CategoryModel\getCategory(), TracksModel\getCategoryName(), CategoryModel\getChildren(), InstalledModel\getClient(), TracksModel\getClientName(), ComponentModel\getComponent(), TracksModel\getContent(), ProfileModel\getData(), CacheModel\getData(), InstalledModel\getData(), DebuguserModel\getDebugActions(), DebuggroupModel\getDebugActions(), ModulesModel\getEmptyStateQuery(), CategoriesModel\getEmptyStateQuery(), TracksModel\getFileType(), FilterModel\getFilter(), WorkflowsModel\getFilterForm(), TransitionsModel\getFilterForm(), FieldsModel\getFilterForm(), MenutypesModel\getFolders(), OverrideModel\getForm(), FormModel\getForm(), ComponentModel\getForm(), GroupModel\getForm(), ContactModel\getForm(), MenuModel\getForm(), TaskModel\getForm(), CategoryModel\getForm(), ArticleModel\getForm(), FieldModel\getForm(), ItemModel\getForm(), DebuggroupModel\getGroup(), AdapterModel\getItem(), MediumModel\getItem(), ConfigModel\getItem(), NewsfeedModel\getItem(), ArticleModel\getItem(), FormModel\getItem(), OverrideModel\getItem(), UserModel\getItem(), LanguageModel\getItem(), TagModel\getItem(), MessageModel\getItem(), MenuModel\getItem(), TemplateModel\getItem(), PluginModel\getItem(), ContactModel\getItem(), CategoryModel\getItem(), StyleModel\getItem(), GroupModel\getItem(), FieldModel\getItem(), ItemModel\getItem(), ModuleModel\getItem(), AdminModel\getItem(), MediaModel\getItems(), DebuguserModel\getItems(), DebuggroupModel\getItems(), PositionsModel\getItems(), FeaturedModel\getItems(), CategoryModel\getItems(), SelectModel\getItems(), UsersModel\getItems(), CheckinModel\getItems(), ListModel\getItems(), BannersModel\getItems(), TagsModel\getItems(), CategoriesModel\getItems(), ArticlesModel\getItems(), LanguagesModel\getLanguages(), RequestsModel\getListQuery(), FiltersModel\getListQuery(), ConsentsModel\getListQuery(), SuggestionsModel\getListQuery(), NotesModel\getListQuery(), FeaturedModel\getListQuery(), SelectModel\getListQuery(), ActionlogsModel\getListQuery(), ArchiveModel\getListQuery(), TracksModel\getListQuery(), DiscoverModel\getListQuery(), ClientsModel\getListQuery(), UpdateModel\getListQuery(), BannersModel\getListQuery(), LevelsModel\getListQuery(), SearchesModel\getListQuery(), MessagesModel\getListQuery(), TasksModel\getListQuery(), LanguagesModel\getListQuery(), TemplatesModel\getListQuery(), StylesModel\getListQuery(), GroupsModel\getListQuery(), StagesModel\getListQuery(), TransitionsModel\getListQuery(), SearchModel\getListQuery(), LinksModel\getListQuery(), FieldsModel\getListQuery(), TagModel\getListQuery(), ContactsModel\getListQuery(), NewsfeedsModel\getListQuery(), TagsModel\getListQuery(), MenusModel\getListQuery(), AssociationsModel\getListQuery(), CategoriesModel\getListQuery(), MapsModel\getListQuery(), IndexModel\getListQuery(), DebuguserModel\getListQuery(), PluginsModel\getListQuery(), DebuggroupModel\getListQuery(), WorkflowsModel\getListQuery(), ArticlesModel\getListQuery(), ItemsModel\getListQuery(), ModulesModel\getListQuery(), UsersModel\getListQuery(), ManageModel\getListQuery(), HistoryModel\getListQuery(), DatabaseModel\getListQuery(), UpdatesitesModel\getListQuery(), ActionlogsModel\getLogsForItem(), TemplateModel\getMaster(), TracksModel\getMimeType(), MenusModel\getModMenuId(), ItemModel\getModules(), InstalledModel\getOption(), OverridesModel\getOverrides(), MethodModel\getPageTitle(), CacheModel\getPagination(), ListModel\getPagination(), FormModel\getReturnPage(), Indexer\getSignature(), TemplateModel\getSource(), ListModel\getStart(), ArticlesModel\getStart(), SelectModel\getStoreId(), ClientsModel\getStoreId(), SearchesModel\getStoreId(), TasksModel\getStoreId(), LevelsModel\getStoreId(), MessagesModel\getStoreId(), PluginsModel\getStoreId(), StylesModel\getStoreId(), GroupsModel\getStoreId(), FiltersModel\getStoreId(), CacheModel\getStoreId(), LinksModel\getStoreId(), FieldsModel\getStoreId(), ContactsModel\getStoreId(), RequestsModel\getStoreId(), NewsfeedsModel\getStoreId(), TagsModel\getStoreId(), SuggestionsModel\getStoreId(), ConsentsModel\getStoreId(), InstalledModel\getStoreId(), UsersModel\getStoreId(), AssociationsModel\getStoreId(), CategoriesModel\getStoreId(), FeaturedModel\getStoreId(), ModulesModel\getStoreId(), DebuggroupModel\getStoreId(), DebuguserModel\getStoreId(), NotesModel\getStoreId(), TemplatesModel\getStoreId(), ArticlesModel\getStoreId(), ItemsModel\getStoreId(), LanguagesModel\getStoreId(), BannersModel\getStoreId(), MapsModel\getStoreId(), IndexModel\getStoreId(), SearchModel\getStoreId(), ListModel\getStoreId(), UpdatesitesModel\getStoreId(), TemplateModel\getTemplate(), TemplateModel\getTemplateList(), MenutypesModel\getTypeOptionsByComponent(), MenutypesModel\getTypeOptionsFromLayouts(), TemplateModel\getUpdatedList(), DebuguserModel\getUser(), NotesModel\getUser(), StagesModel\getWorkflow(), TransitionsModel\getWorkflow(), NewsfeedModel\hit(), ArticleModel\hit(), ContactModel\hit(), CategoryModel\hit(), Indexer\index(), DownloadModel\loadFormData(), NoteModel\loadFormData(), ComponentModel\loadFormData(), NewsfeedModel\loadFormData(), BannerModel\loadFormData(), ContactModel\loadFormData(), ListModel\loadFormData(), ItemModel\loadFormData(), ArticleModel\loadFormData(), Adapter\onBeforeIndex(), Adapter\onBuildIndex(), Adapter\onStartIndex(), ModulesModel\preprocessForm(), PluginModel\preprocessForm(), FormModel\preprocessForm(), StyleModel\preprocessForm(), CategoryModel\preprocessForm(), ItemsModel\preprocessForm(), ModuleModel\preprocessForm(), ItemModel\preprocessForm(), PublishedButton\render(), FeaturedButton\render(), ActionButton\render(), LevelsModel\reorder(), WorkflowModel\save(), StageModel\save(), MediumModel\save(), FieldModel\save(), ConfigModel\save(), OverrideModel\save(), TransitionModel\save(), LanguageModel\save(), UserModel\save(), MenuModel\save(), ProfileModel\save(), TemplateModel\save(), RequestModel\save(), StyleModel\save(), CategoryModel\save(), TaskModel\save(), ModuleModel\save(), AdminModel\save(), ItemModel\save(), ModulesModel\translate(), et Joomla\CMS\MVC\Model\workflowAfterSave().
|
protected |
Import the Workflow plugins.
Références PluginHelper\importPlugin().
Référencé par Joomla\CMS\MVC\Model\workflowBeforeSave(), Joomla\CMS\MVC\Model\workflowBeforeStageChange(), Joomla\CMS\MVC\Model\workflowCleanupBatchMove(), et Joomla\CMS\MVC\Model\workflowPreprocessForm().
|
protected |
Method to get a form object.
string | $name | The name of the form. |
string | $source | The form source. Can be XML string if file flag is set to false. |
array | $options | Optional array of options for the form creation. |
boolean | $clear | Optional argument to force load a new form. |
string | $xpath | An optional xpath to search for the fields. |
Références $data, $form, $hash, $name, $options, Form\addFieldPath(), Form\addFormPath(), class, Factory\getContainer(), Joomla\CMS\MVC\Model\getFormFactory(), ArrayHelper\getValue(), Joomla\CMS\MVC\Model\loadFormData(), et Joomla\CMS\MVC\Model\preprocessForm().
Référencé par ListModel\getFilterForm(), AssociationModel\getForm(), FileModel\getForm(), OverrideModel\getForm(), LoginModel\getForm(), MailModel\getForm(), ResetModel\getForm(), NoteModel\getForm(), UpdatesiteModel\getForm(), TemplatesModel\getForm(), ModulesModel\getForm(), DownloadModel\getForm(), LinkModel\getForm(), RequestModel\getForm(), ApplicationModel\getForm(), ComponentModel\getForm(), TemplateModel\getForm(), PluginModel\getForm(), ClientModel\getForm(), GroupModel\getForm(), FilterModel\getForm(), ConfigModel\getForm(), NewsfeedModel\getForm(), ProfileModel\getForm(), UserModel\getForm(), RemindModel\getForm(), LanguageModel\getForm(), WorkflowModel\getForm(), TagModel\getForm(), TaskModel\getForm(), MenuModel\getForm(), ContactModel\getForm(), ConfirmModel\getForm(), LevelModel\getForm(), BannerModel\getForm(), MessageModel\getForm(), StageModel\getForm(), TransitionModel\getForm(), CategoryModel\getForm(), StyleModel\getForm(), RegistrationModel\getForm(), ArticleModel\getForm(), FieldModel\getForm(), ItemModel\getForm(), ModuleModel\getForm(), ResetModel\getResetCompleteForm(), et ResetModel\getResetConfirmForm().
|
protected |
Method to get the data that should be injected in the form.
Référencé par ProfileModel\getForm(), ItemModel\getForm(), UpdateModel\getForm(), Joomla\CMS\MVC\Model\loadForm(), FormModel\loadForm(), et PluginsModel\loadFormData().
|
protected |
Method to auto-populate the state.
This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the configuration flag to ignore the request is set.
Référencé par Joomla\CMS\MVC\Model\getState(), StageModel\populateState(), TransitionModel\populateState(), WorkflowModel\populateState(), ArchiveModel\populateState(), MenutypesModel\populateState(), MessageModel\populateState(), SearchesModel\populateState(), InstallModel\populateState(), ClientsModel\populateState(), PositionsModel\populateState(), StagesModel\populateState(), StylesModel\populateState(), LevelsModel\populateState(), CheckinModel\populateState(), TransitionsModel\populateState(), TemplatesModel\populateState(), DiscoverModel\populateState(), MessagesModel\populateState(), WorkflowsModel\populateState(), PluginsModel\populateState(), ActionlogsModel\populateState(), UpdateModel\populateState(), AssociationsModel\populateState(), TracksModel\populateState(), ManageModel\populateState(), FeaturedModel\populateState(), ModulesModel\populateState(), ContactsModel\populateState(), NewsfeedsModel\populateState(), FieldsModel\populateState(), GroupsModel\populateState(), ItemsModel\populateState(), CacheModel\populateState(), UsersModel\populateState(), CategoriesModel\populateState(), TagsModel\populateState(), LinksModel\populateState(), InstalledModel\populateState(), DebuggroupModel\populateState(), DebuguserModel\populateState(), ArticlesModel\populateState(), FiltersModel\populateState(), NoteModel\populateState(), RequestsModel\populateState(), ConsentsModel\populateState(), OverridesModel\populateState(), GroupModel\populateState(), MenusModel\populateState(), NotesModel\populateState(), PluginModel\populateState(), LanguagesModel\populateState(), DatabaseModel\populateState(), BannersModel\populateState(), MapsModel\populateState(), HistoryModel\populateState(), IndexModel\populateState(), TemplateModel\populateState(), TasksModel\populateState(), et UpdatesitesModel\populateState().
|
protected |
Method to allow derived classes to preprocess the data.
string | $context | The context identifier. |
mixed | &$data | The data to be processed. It gets altered directly. |
string | $group | The name of the plugin group to import (defaults to "content"). |
Références $context, $data, Factory\getApplication(), et PluginHelper\importPlugin().
Référencé par ConfigModel\getItem(), LoginModel\loadFormData(), MailModel\loadFormData(), UpdatesiteModel\loadFormData(), OverrideModel\loadFormData(), DownloadModel\loadFormData(), NoteModel\loadFormData(), LinkModel\loadFormData(), ClientModel\loadFormData(), FilterModel\loadFormData(), PluginModel\loadFormData(), NewsfeedModel\loadFormData(), LanguageModel\loadFormData(), ProfileModel\loadFormData(), UserModel\loadFormData(), MenuModel\loadFormData(), TagModel\loadFormData(), LevelModel\loadFormData(), BannerModel\loadFormData(), MessageModel\loadFormData(), ContactModel\loadFormData(), TemplateModel\loadFormData(), GroupModel\loadFormData(), StyleModel\loadFormData(), CategoryModel\loadFormData(), RegistrationModel\loadFormData(), ItemModel\loadFormData(), ArticleModel\loadFormData(), ModuleModel\loadFormData(), et FieldModel\loadFormData().
Method to allow derived classes to preprocess the form.
Form | $form | A Form object. |
mixed | $data | The data expected for the form. |
string | $group | The name of the plugin group to import (defaults to "content"). |
Références $data, $form, Factory\getApplication(), et PluginHelper\importPlugin().
Référencé par TemplatesModel\getForm(), Joomla\CMS\MVC\Model\loadForm(), FormModel\loadForm(), RemindModel\preprocessForm(), ModulesModel\preprocessForm(), MailModel\preprocessForm(), TemplatesModel\preprocessForm(), LoginModel\preprocessForm(), ResetModel\preprocessForm(), ProfileModel\preprocessForm(), UserModel\preprocessForm(), FormModel\preprocessForm(), LevelModel\preprocessForm(), WorkflowModel\preprocessForm(), GroupModel\preprocessForm(), PluginModel\preprocessForm(), TransitionModel\preprocessForm(), BannerModel\preprocessForm(), StageModel\preprocessForm(), RegistrationModel\preprocessForm(), NewsfeedModel\preprocessForm(), StyleModel\preprocessForm(), CategoryModel\preprocessForm(), ContactModel\preprocessForm(), ModuleModel\preprocessForm(), TaskModel\preprocessForm(), FieldModel\preprocessForm(), ArticleModel\preprocessForm(), et ItemModel\preprocessForm().
Joomla\CMS\MVC\Model\setDbo | ( | DatabaseInterface | $db = null | ) |
Set the database driver.
DatabaseInterface | $db | The database driver. |
Références $db.
Référencé par BaseDatabaseModel\__construct().
Joomla\CMS\MVC\Model\setState | ( | $property, | |
$value = null |
|||
) |
Method to set state variables.
string | $property | The name of the property |
mixed | $value | The value of the property to set or null |
Référencé par InstallerModel\_getList(), ModulesModel\_getList(), UpdateModel\_getList(), DiscoverModel\discover_install(), DatabaseModel\fetchSchemaCache(), PluginModel\getForm(), GroupModel\getForm(), ProfileModel\getForm(), CategoryModel\getForm(), StyleModel\getForm(), FieldModel\getForm(), ItemModel\getForm(), ModuleModel\getForm(), ItemModel\getItem(), PositionsModel\getItems(), FeaturedModel\getItems(), BannersModel\getItems(), TagsModel\getListQuery(), InstallModel\install(), UpdateModel\install(), ItemModel\loadFormData(), Adapter\onBuildIndex(), Adapter\onStartIndex(), LoginModel\populateState(), StageModel\populateState(), TransitionModel\populateState(), WorkflowModel\populateState(), ConfigModel\populateState(), DownloadModel\populateState(), SelectModel\populateState(), MessagesModel\populateState(), NewsfeedModel\populateState(), ArchiveModel\populateState(), ArticleModel\populateState(), MessageModel\populateState(), SearchesModel\populateState(), InstallModel\populateState(), ClientsModel\populateState(), PositionsModel\populateState(), StagesModel\populateState(), StylesModel\populateState(), LevelsModel\populateState(), TemplatesModel\populateState(), TransitionsModel\populateState(), DiscoverModel\populateState(), WorkflowsModel\populateState(), PluginsModel\populateState(), UpdateModel\populateState(), AssociationsModel\populateState(), TracksModel\populateState(), ManageModel\populateState(), FeaturedModel\populateState(), ModulesModel\populateState(), ContactsModel\populateState(), TagModel\populateState(), LanguageModel\populateState(), NewsfeedsModel\populateState(), FieldsModel\populateState(), GroupsModel\populateState(), CacheModel\populateState(), ItemsModel\populateState(), UsersModel\populateState(), CategoriesModel\populateState(), TagsModel\populateState(), LinksModel\populateState(), StyleModel\populateState(), InstalledModel\populateState(), MenuModel\populateState(), CapabilitiesModel\populateState(), DebuggroupModel\populateState(), DebuguserModel\populateState(), ModuleModel\populateState(), ArticlesModel\populateState(), FiltersModel\populateState(), NoteModel\populateState(), ResetModel\populateState(), RequestsModel\populateState(), SuggestionsModel\populateState(), ConsentsModel\populateState(), OverridesModel\populateState(), CategoryModel\populateState(), FormModel\populateState(), RemindModel\populateState(), RemoveModel\populateState(), GroupModel\populateState(), OverrideModel\populateState(), MenusModel\populateState(), ConfirmModel\populateState(), ProfileModel\populateState(), PluginModel\populateState(), TaskModel\populateState(), RequestModel\populateState(), LanguagesModel\populateState(), DatabaseModel\populateState(), BannersModel\populateState(), MapsModel\populateState(), HistoryModel\populateState(), ExportModel\populateState(), SearchModel\populateState(), IndexModel\populateState(), TemplateModel\populateState(), RegistrationModel\populateState(), UpdatesitesModel\populateState(), ListModel\populateState(), FieldModel\populateState(), ItemModel\populateState(), AdminModel\populateState(), ManageModel\remove(), LanguageModel\save(), UserModel\save(), MenuModel\save(), MessageModel\save(), TemplateModel\save(), StyleModel\save(), CategoryModel\save(), ModuleModel\save(), AdminModel\save(), ItemModel\save(), et UpdateModel\update().
Joomla\CMS\MVC\Model\setUpWorkflow | ( | $extension | ) |
Set Up the workflow
string | $extension | The option and section separated by. |
Références $extension, $params, $parts, Joomla\CMS\MVC\Model\enableWorkflowBatch(), extension, et ComponentHelper\getParams().
Référencé par ArticleModel\__construct().
Joomla\CMS\MVC\Model\workflowAfterSave | ( | $data | ) |
Executing of relevant workflow methods
Références $data, $extension, $form, $id, $path, Form\addFieldPath(), Form\addFormPath(), Path\check(), Joomla\CMS\MVC\Model\executeTransition(), Joomla\CMS\MVC\Model\getStageForNewItem(), Joomla\CMS\MVC\Model\getState(), et JPATH_BASE.
Joomla\CMS\MVC\Model\workflowBeforeSave | ( | ) |
Preparation of workflow data/plugins
Références Joomla\CMS\MVC\Model\importWorkflowPlugins().
Joomla\CMS\MVC\Model\workflowBeforeStageChange | ( | ) |
Let plugins access stage change events
Références Joomla\CMS\MVC\Model\importWorkflowPlugins().
Référencé par ArticleModel\featured(), et ArticleModel\publish().
Joomla\CMS\MVC\Model\workflowCleanupBatchMove | ( | $oldId, | |
$newId | |||
) |
Batch change workflow stage or current.
integer | $oldId | The ID of the item copied from |
integer | $newId | The ID of the new item |
Références Joomla\CMS\MVC\Model\importWorkflowPlugins().
Référencé par ArticleModel\cleanupPostBatchCopy().
Joomla\CMS\MVC\Model\workflowPreprocessForm | ( | Form | $form, |
$data | |||
) |
Method to allow derived classes to preprocess the form.
Références $data, Joomla\CMS\MVC\Model\addTransitionField(), et Joomla\CMS\MVC\Model\importWorkflowPlugins().
Référencé par ArticleModel\preprocessForm().
|
protected |
|
protected |
|
protected |
Référencé par PlgContentJoomla\_canDeleteStage(), TransitionTable\_getAssetName(), StageTable\_getAssetName(), TransitionTable\_getAssetParentId(), StageTable\_getAssetParentId(), PlgSampledataMultilang\addArticle(), Joomla\CMS\MVC\Model\batchWorkflowStage(), HtmlView\display(), PlgWorkflowPublishing\enhanceTransitionForm(), TransitionModel\getWorkflow(), Menu\preprocess(), CssMenu\preprocess(), StageModel\save(), et TransitionModel\save().
|
protected |
trait DatabaseAwareTrait |
trait FormBehaviorTrait |
Trait which supports form behavior.
trait StateBehaviorTrait |
trait WorkflowBehaviorTrait |
Trait which supports state behavior