MOON
Server: Apache
System: Linux res.emeff.ca 3.10.0-962.3.2.lve1.5.24.10.el7.x86_64 #1 SMP Wed Mar 20 07:36:02 EDT 2019 x86_64
User: accemeff (1004)
PHP: 7.0.33
Disabled: NONE
Upload Files
File: /home/accemeff/vendor/craftcms/cms/src/base/FieldTrait.php
<?php
/**
 * @link https://craftcms.com/
 * @copyright Copyright (c) Pixel & Tonic, Inc.
 * @license https://craftcms.github.io/license/
 */

namespace craft\base;

/**
 * FieldTrait implements the common methods and properties for field classes.
 *
 * @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
 * @since 3.0
 */
trait FieldTrait
{
    // Properties
    // =========================================================================

    /**
     * @var int|null The field’s group’s ID
     */
    public $groupId;

    /**
     * @var string|null The field’s name
     */
    public $name;

    /**
     * @var string|null The field’s handle
     */
    public $handle;

    /**
     * @var string|null The field’s context
     */
    public $context;

    /**
     * @var string|null The field’s instructions
     */
    public $instructions;

    /**
     * @var bool Whether the field's values should be registered as search keywords on the elements.
     */
    public $searchable = true;

    /**
     * @var string The field’s translation method
     */
    public $translationMethod = Field::TRANSLATION_METHOD_NONE;

    /**
     * @var string|null The field’s translation key format, if [[translationMethod]] is "custom"
     */
    public $translationKeyFormat;

    /**
     * @var string|null The field’s previous handle
     */
    public $oldHandle;

    /**
     * @var string|null The field’s content column prefix
     */
    public $columnPrefix;

    /**
     * @var string|null The field's UID
     */
    public $uid;

    // These properties are only populated if the field was fetched via a Field Layout
    // -------------------------------------------------------------------------

    /**
     * @var int|null The ID of the field layout that the field was fetched from
     */
    public $layoutId;

    /**
     * @var int|null The tab ID of the field layout that the field was fetched from
     */
    public $tabId;

    /**
     * @var bool|null Whether the field is required in the field layout it was fetched from
     */
    public $required;

    /**
     * @var int|null The field’s sort position in the field layout it was fetched from
     */
    public $sortOrder;
}