<commit_before><?php

namespace Symbiote\FrontendObjects\Page;

use Page;

use Object;

use Symbiote\MultiValueField\Fields\MultiValueTextField;

use SilverStripe\Core\Extensible;

use Symbiote\FrontendObjects\Extension\FrontendCreateableExtension;

use SilverStripe\Assets\File;
use Symbiote\AdvancedWorkflow\DataObjects\WorkflowDefinition;
use SilverStripe\Assets\Folder;
use Symbiote\FrontendObjects\Page\FrontendCreateableObject;
use SilverStripe\Core\ClassInfo;
use SilverStripe\Forms\DropdownField;
use SilverStripe\Forms\CheckboxField;
use SilverStripe\Forms\HTMLEditor\HTMLEditorField;
use SilverStripe\ORM\Hierarchy\Hierarchy;
use SilverStripe\Forms\TreeDropdownField;
use SilverStripe\Forms\TreeMultiselectField;
use Symbiote\AdvancedWorkflow\Extensions\WorkflowApplicable;
use SilverStripe\Forms\LiteralField;
use SilverStripe\Forms\TextField;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\ORM\DataList;
use SilverStripe\Security\Member;
use Symbiote\AdvancedWorkflow\DataObjects\WorkflowInstance;
use SilverStripe\ORM\ArrayList;
use Symbiote\AdvancedWorkflow\Controllers\FrontEndWorkflowController;
use SilverStripe\Security\Permission;
use SilverStripe\Versioned\Versioned;
use SilverStripe\ORM\DataObject;
use SilverStripe\Control\Director;
use SilverStripe\i18n\i18n;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\HiddenField;
use SilverStripe\Core\Config\Config;
use Symbiote\FrontendObjects\Page\ObjectCreatorPage;
use SilverStripe\Forms\FormAction;
use SilverStripe\Forms\Form;
use Symbiote\FrontendObjects\Control\ObjectCreatorPage_FrontEndWorkflowController;
use SilverStripe\ORM\ValidationException;
use Symbiote\AdvancedWorkflow\Services\WorkflowService;
use SilverStripe\Control\Controller;
use PageController;
use Symbiote\MultiValueField\Fields\KeyValueField;



/**
 * A page type that lets users create other data objects from the frontend of
 * their website.
 *
 * @author <EMAIL>
 * @license BSD License http://silverstripe.org/bsd-license/
 */
class ObjectCreatorPage extends Page {
    private static $table_name = 'ObjectCreatorPage';

	private static $createable_types = array('Page', File::class);
	private static $db = array(
		'CreateType' => 'Varchar(32)',
		'CreateLocationID' => 'Int',
		'RestrictCreationTo' => 'Varchar(255)',
		'AllowUserSelection' => 'Boolean',
		'CreateButtonText' => 'Varchar',
		'PublishOnCreate' => 'Boolean',
		'ShowCmsLink' => 'Boolean',
		'WhenObjectExists' => "Enum('Rename, Replace, Error', 'Rename')",
		'AllowUserWhenObjectExists' => 'Boolean',<commit_msg>fix(ObjectCreatorPage) Updated CreateType field length<commit_after><?php

namespace Symbiote\FrontendObjects\Page;

use Page;

use Object;

use Symbiote\MultiValueField\Fields\MultiValueTextField;

use SilverStripe\Core\Extensible;

use Symbiote\FrontendObjects\Extension\FrontendCreateableExtension;

use SilverStripe\Assets\File;
use Symbiote\AdvancedWorkflow\DataObjects\WorkflowDefinition;
use SilverStripe\Assets\Folder;
use Symbiote\FrontendObjects\Page\FrontendCreateableObject;
use SilverStripe\Core\ClassInfo;
use SilverStripe\Forms\DropdownField;
use SilverStripe\Forms\CheckboxField;
use SilverStripe\Forms\HTMLEditor\HTMLEditorField;
use SilverStripe\ORM\Hierarchy\Hierarchy;
use SilverStripe\Forms\TreeDropdownField;
use SilverStripe\Forms\TreeMultiselectField;
use Symbiote\AdvancedWorkflow\Extensions\WorkflowApplicable;
use SilverStripe\Forms\LiteralField;
use SilverStripe\Forms\TextField;
use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\ORM\DataList;
use SilverStripe\Security\Member;
use Symbiote\AdvancedWorkflow\DataObjects\WorkflowInstance;
use SilverStripe\ORM\ArrayList;
use Symbiote\AdvancedWorkflow\Controllers\FrontEndWorkflowController;
use SilverStripe\Security\Permission;
use SilverStripe\Versioned\Versioned;
use SilverStripe\ORM\DataObject;
use SilverStripe\Control\Director;
use SilverStripe\i18n\i18n;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\HiddenField;
use SilverStripe\Core\Config\Config;
use Symbiote\FrontendObjects\Page\ObjectCreatorPage;
use SilverStripe\Forms\FormAction;
use SilverStripe\Forms\Form;
use Symbiote\FrontendObjects\Control\ObjectCreatorPage_FrontEndWorkflowController;
use SilverStripe\ORM\ValidationException;
use Symbiote\AdvancedWorkflow\Services\WorkflowService;
use SilverStripe\Control\Controller;
use PageController;
use Symbiote\MultiValueField\Fields\KeyValueField;



/**
 * A page type that lets users create other data objects from the frontend of
 * their website.
 *
 * @author <EMAIL>
 * @license BSD License http://silverstripe.org/bsd-license/
 */
class ObjectCreatorPage extends Page {
    private static $table_name = 'ObjectCreatorPage';

	private static $createable_types = array('Page', File::class);
	private static $db = array(
		'CreateType' => 'Varchar(255)',
		'CreateLocationID' => 'Int',
		'RestrictCreationTo' => 'Varchar(255)',
		'AllowUserSelection' => 'Boolean',
		'CreateButtonText' => 'Varchar',
		'PublishOnCreate' => 'Boolean',
		'ShowCmsLink' => 'Boolean',
		'WhenObjectExists' => "Enum('Rename, Replace, Error', 'Rename')",
		'AllowUserWhenObjectExists' => 'Boolean',
{'fraction_non_alphanumeric': 0.10167510712894429, 'fraction_numerical': 0.0037008180755746006, 'mean_word_length': 7.189792663476874, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4987061', 'n_tokens_mistral': 1715, 'n_tokens_neox': 1691, 'n_words': 297}