for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* YAWIK
*
* @filesource
* @license MIT
* @copyright 2013 - 2016 Cross Solution <http://cross-solution.de>
*/
/** */
namespace Jobs\Form;
use Core\Form\SummaryForm;
use Core\Form\WizardContainer;
* Container for the management of job categories.
* @author Mathias Gelhausen <[email protected]>
* @since 0.29
class CategoriesContainer extends WizardContainer
{
public function init()
$this->setForms([
'professions' => [
'options' => [
'label' => 'Professions',
],
'entity' => 'professions',
'property' => true,
'forms' => [
'type' => 'Core/Tree/Management',
'enable_descriptions' => true,
'description' => /*@translate*/ 'Manage the professions you want to assign to jobs.',
'display_mode' => SummaryForm::DISPLAY_SUMMARY,
'employmentTypes' => [
'label' => 'Employment Types',
'entity' => 'employmentTypes',
'description' => /*@translate*/ 'Manage the employment types you want to assign to jobs.',
]);
}