FacturaScripts

ColumnItem extends ColumnItem

Class created by Core/Base/PluginManager

Table of Contents

$description Additional text that explains the field to the user string
$display State and alignment of the display configuration (left|right|center|none) string
$level Selected security level. int
$numcolumns int
$order int
$title string
$titleurl string
$widget Field display object configuration BaseWidget
$class string
$i18n Translator
$id Identifies the object with a defined name in the view string
$name Name defined in the view as key string
$token string
$uniqueId int
__construct() mixed
edit() string
htmlWidth() Returns CSS percentage width string
hidden() bool
processFormData() mixed
tableCell() string
tableHeader() string
loadWidget() mixed
getLevel() int
getToken() string
setLevel() mixed
setToken() mixed
colorToClass() string
getColorFromOption() Calculate color from option configuration string
applyOperatorFromOption() bool
combineClasses() string
css() Returns equivalent css class to $class. To extend in plugins. string
getUniqueId() int

Properties

$description

Additional text that explains the field to the user

public string $description

$display

State and alignment of the display configuration (left|right|center|none)

public string $display

$level

Selected security level.

private static int $level = ""

$id

Identifies the object with a defined name in the view

public string $id

$name

Name defined in the view as key

public string $name

Methods

__construct()

public __construct( $data : array ) : mixed
Parameters
$data : array
Return values
mixed

edit()

public edit( $model : object [, $onlyField : bool = false ] ) : string
Parameters
$model : object
$onlyField : bool = false
Return values
string

htmlWidth()

Returns CSS percentage width

public htmlWidth( ) : string
Return values
string

hidden()

public hidden( ) : bool
Return values
bool

processFormData()

public processFormData( &$model : object , $request : Request ) : mixed
Parameters
$model : object
$request : Request
Return values
mixed

tableCell()

public tableCell( $model : object ) : string
Parameters
$model : object
Return values
string

tableHeader()

public tableHeader( ) : string
Return values
string

loadWidget()

protected loadWidget( $children : array ) : mixed
Parameters
$children : array
Return values
mixed

getLevel()

public static getLevel( ) : int
Return values
int

getToken()

public static getToken( ) : string
Return values
string

setLevel()

public static setLevel( $new : int ) : mixed
Parameters
$new : int
Return values
mixed

setToken()

public static setToken( $token : string ) : mixed
Parameters
$token : string
Return values
mixed

colorToClass()

protected colorToClass( $color : string , $prefix : string ) : string
Parameters
$color : string
$prefix : string
Return values
string

getColorFromOption()

Calculate color from option configuration

public getColorFromOption( $option : string[] , $value : mixed , $prefix : string ) : string
Parameters
$option : string[]
$value : mixed
$prefix : string
Return values
string

applyOperatorFromOption()

protected applyOperatorFromOption( $option : string[] , $value : mixed ) : bool
Parameters
$option : string[]
$value : mixed
Return values
bool

combineClasses()

protected combineClasses( ...$classes : array ) : string
Parameters
$classes : array
Return values
string

css()

Returns equivalent css class to $class. To extend in plugins.

protected css( $class : string ) : string
Parameters
$class : string
Return values
string

getUniqueId()

protected getUniqueId( ) : int
Return values
int

Search results