NAME
Kernel::WebApp::Controller::API::Frontend::Agent::Form::KnowledgeBaseArticle::BaseCreateUpdate – Base class for the knowledge base article create/update form schema endpoints.
has FAQObject
Attribute that holds a Kernel::System::FAQ
object.
has ConfigObject
Attribute that holds a Kernel::Config
object.
has UserData
Attribute that holds all user information.
has UserROPermissionGroups
Attribute that holds all groups for which the current user has read only permissions.
has ArticleID
Attribute that holds the current knowledge base article ID.
has ArticleData
Attribute that holds the current knowledge base article data.
GetFormFields()
Helper method to build all needed form fields.
_BuildFAQObject()
Initializes the attribute FAQObject
.
_BuildConfigObject()
Initializes the attribute ConfigObject
.
_BuildUserData()
Initializes the attribute UserData
.
_BuildUserROPermissionGroups()
Initializes the attribute UserROPermissionGroups
.
_BuildArticleID()
Initializes the attribute ArticleID
.
_BuildArticleData()
Initializes the attribute ArticleData
.
_GetDynamicFields()
Builds the form schema for all dynamic fields for knowledge base articles.
_GetTitle()
Builds the form schema for the title field.
_GetState()
Builds the form schema for the state field.
_GetKeywords()
Builds the form schema for the keywords field.
_GetValid()
Builds the form schema for the valid field.
_GetCategory()
Builds the form schema for the category field.
_GetLanguage()
Builds the form schema for the language field.
_GetApproved()
Builds the form schema for the approved field.
_GetAttachments()
Builds the form schema for the attachments field.
_GetItemField()
Helper function to builds the form schema for an item field (e.g. FAQ::Item::Field1
).
_GetField1()
Builds the form schema for field FAQ::Item::Field1
.
_GetField2()
Builds the form schema for field FAQ::Item::Field2
.
_GetField3()
Builds the form schema for field FAQ::Item::Field3
.
_GetField4()
Builds the form schema for field FAQ::Item::Field4
.
_GetField5()
Builds the form schema for field FAQ::Item::Field5
.
_GetField6()
Builds the form schema for field FAQ::Item::Field6
.
_GetValue()
Helper method to show the correct value for the fields.