<?php
return array(
    "type" => "standard_project",
    "model" => "StandardProject",
    "label" => "standard projects",
    "label_singular" => "standard project",
    "group" => "projects",
    "template" => false,
    "order" => false,
    "fields" => array(           
        array(
            "name" => "title",
            "label" => "title", 
            "type" => "textBox",
            "maxLength" => 100,
            "multiLanguage" => true,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "required|max:100",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),
        array(
            "name" => "description",
            "label" => "description", 
            "type" => "editor",
            "multiLanguage" => true,
            "preValidation" => "trim|xss_clean",
            "validation" => ""
        ),
        array(
            "name" => "standardProjectDocuments",
            "label" => "documents",
            "type" => "multiplePicker",
            "objectTypes" => array("publication"),
            "minSize" => "0",
            "order" => true
        ),
        array(
            "name" => "standard_id",
            "label" => "standard",
            "type" => "selectBox",
            "contentType" => "standard",
            "preValidation" => "trim",
            "validation" => "required|integer|min:1",
            "inList" => true,
            "search" => true,
            "sort" => true,
            "placement" => "sidebar"
        ),
        array(
            "name" => "project_id",
            "label" => "project id", 
            "type" => "textBox",
            "maxLength" => 20,
            "multiLanguage" => false,
            "preValidation" => "strip_tags|xss_clean|trim",
            "validation" => "max:20",
            "placement" => "sidebar",
            "inList" => true,
            "search" => true,
            "sort" => true
        ),               
    ),
    "actions" => array(
        "insert", "edit", "delete"
    )
);
