<?php
return array(
    "type" => "clipping",
    "model" => "App\Models\Clipping",
    "label" => "clippings",
    "label_singular" => "clipping",
    "group" => "communicating",
    "template" => false,
    "order" => false,
    "search" => false,
    "fields" => array(
        array(
            "name" => "title",
            "label" => "title",
            "type" => "textBox",
            "maxLength" => 150,
            "multiLanguage" => true,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "required|max:150",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),
        array(
            "name" => "publication",
            "label" => "Publication",
            "type" => "textBox",
            "maxLength" => 50,
            "multiLanguage" => false,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "required|max:50",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),
        array(
            "name" => "date",
            "label" => "Date",
            "type" => "datePicker",
            "inputType" => "date", //time|date|datetime
            "multiLanguage" => false,
            "validation" => "required",
            "placement" => "sidebar",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),
        array(
            "name" => "url",
            "label" => "URL link to source",
            "type" => "textBox",
            "maxLength" => 255,
            "multiLanguage" => false,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "required|url|max:255"
        ),
    ),
    "actions" => array(
        "insert", "edit", "duplicate", "delete"
    )
);
