Kajona\System\System\LanguagesLanguageset

A languageset connects a set of systemrecords and assigns every single one to defined set.

This allows to couple records to a languageset.
The languageswitch is capable to interact with a languageswitch and creates the switch-links
with the matching systemid.
Please note: Since a languageset only tights existing records together, it isn't in the regular
\Kajona\System\System\Model hierarchy. This also means, that a languageset is not included within the regular
object lifecycle and has no representation in the system-table!
In most cases creating a new instance via the constructor is useless. Instead use one of the
factory methods.

Synopsis

class LanguagesLanguageset extends Model implements ModelInterface {
}

Hierarchy

Tasks

Line Task
41+ : with php5.4, ths could be moved to traits
68+ : with php5.4, ths could be moved to traits
93+ : with php5.4, ths could be moved to traits
639+ move to OrmObjectupdate completely
913+ find ussages and make private
1542+ : remove first params, is always the current systemid. maybe mark as protected, currently only called by the test-classes
27+ move this to \Kajona\System\System\Model, making this interface obsolete

Constants

Name Value
STR_MODULE_ANNOTATION "@module"
STR_MODULEID_ANNOTATION "@moduleId"
STR_SORTMANAGER_ANNOTATION "@sortManager"

Members

private

  • $arrLanguageSet

protected

Methods

protected

public

Inherited from Kajona\System\System\Model

public

Inherited from Kajona\System\System\Root

protected

  • getObjLang() — Returns the current Text-Object Instance
  • initObjectInternal() — InitObjectInternal is called during an objects instantiation.
  • onInsertToDb() — Overwrite this method if you want to trigger additional commands during the insert of an object, e.g. to create additional objects / relations
  • updateStateToDb() — Called whenever a update-request was fired.
  • updateSystemrecord() — Updates the current record to the database and saves all relevant fields.

public