ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
arIndexTableField Class Reference

GUI-Class arIndexTableField. More...

+ Inheritance diagram for arIndexTableField:
+ Collaboration diagram for arIndexTableField:

Public Member Functions

 __construct ($name="", $txt=NULL, $position=NULL, $visible=false, $custom_field=false, $sortable=false, $has_filter=false)
 
 setHasFilter ($has_filter)
 
 getHasFilter ()
 
 setSortable ($sortable)
 
 getSortable ()
 
 setVisibleDefault ($visible_default)
 
 getVisibleDefault ()
 
- Public Member Functions inherited from arViewField
 __construct ($name, $txt=NULL, $position=0, $visible=true, $custom_field=false)
 
 setPosition ($position)
 
 getPosition ()
 
 setTxt ($txt)
 
 getTxt ()
 
 setVisible ($visible)
 
 getVisible ()
 
 setCustomField ($custom_field)
 
 getCustomField ()
 
 setTxtPrefix ($txt_prefix)
 
 getTxtPrefix ()
 
 getGetFunctionName ()
 
 getSetFunctionName ()
 
 setIsCreatedByField ($is_created_by_field)
 
 setIsCreationDateField ($is_creation_date_field)
 
 getIsCreationDateField ()
 
 getIsCreatedByField ()
 
 setIsModifiedByField ($is_modified_by_field)
 
 getIsModifiedByField ()
 
 setIsModificationDateField ($is_modification_date_field)
 
 getIsModificationDateField ()
 
- Public Member Functions inherited from arField
 loadFromArray ($name, array $array)
 
 loadFromStdClass ($name, stdClass $stdClass)
 
 getAttributesForConnector ()
 
 getAttributesForDescription ()
 
 isDateField ()
 
 setFieldType ($field_type)
 
 getFieldType ()
 
 setHasField ($has_field)
 
 getHasField ()
 
 setLength ($length)
 
 getLength ()
 
 setName ($name)
 
 getName ()
 
 setNotNull ($not_null)
 
 getNotNull ()
 
 setPrimary ($primary)
 
 getPrimary ()
 
 setUnique ($unique)
 
 getUnique ()
 
 setSequence ($sequence)
 
 getSequence ()
 
 setIndex ($index)
 
 getIndex ()
 

Protected Attributes

 $has_filter = false
 
 $sortable = false
 
 $visible_default = false
 
- Protected Attributes inherited from arViewField
 $txt_prefix = ""
 
 $txt = ""
 
 $position = 1000
 
 $visible = false
 
 $custom_field = false
 
 $get_function_name = ""
 
 $set_function_name = ""
 
 $is_created_by_field = false
 
 $is_modified_by_field = false
 
 $is_creation_date_field = false
 
 $is_modification_date_field = false
 
- Protected Attributes inherited from arField
 $fieldtype
 
 $length = NULL
 
 $is_primary = false
 
 $name = ''
 
 $not_null = false
 
 $unique = false
 
 $has_field = false
 
 $sequence = false
 
 $index = false
 

Additional Inherited Members

- Static Public Member Functions inherited from arViewField
static setAllowedAttributes ($allowed_attributes)
 
static getAllowedAttributes ()
 
static castFromFieldToViewField (arField $field)
 
- Static Public Member Functions inherited from arField
static isAllowedAttribute ($type, $field_name)
 
static isDateFieldType ($field_type)
 
- Data Fields inherited from arField
const FIELD_TYPE_TEXT = 'text'
 
const FIELD_TYPE_INTEGER = 'integer'
 
const FIELD_TYPE_FLOAT = 'float'
 
const FIELD_TYPE_DATE = 'date'
 
const FIELD_TYPE_TIME = 'time'
 
const FIELD_TYPE_TIMESTAMP = 'timestamp'
 
const FIELD_TYPE_CLOB = 'clob'
 
- Static Protected Attributes inherited from arField
static $allowed_attributes
 
static $date_fields
 

Detailed Description

GUI-Class arIndexTableField.

Author
Timon Amstutz timon.nosp@m..ams.nosp@m.tutz@.nosp@m.ilub.nosp@m..unib.nosp@m.e.ch
Version
2.0.7

Definition at line 11 of file class.arIndexTableField.php.

Constructor & Destructor Documentation

◆ __construct()

arIndexTableField::__construct (   $name = "",
  $txt = NULL,
  $position = NULL,
  $visible = false,
  $custom_field = false,
  $sortable = false,
  $has_filter = false 
)
Parameters
string$name
null$txt
null$position
bool$visible
bool$custom_field
bool$sortable
bool$has_filter

Definition at line 36 of file class.arIndexTableField.php.

References arViewField\$custom_field, $has_filter, arField\$name, arViewField\$position, $sortable, arViewField\$txt, and arViewField\$visible.

Member Function Documentation

◆ getHasFilter()

arIndexTableField::getHasFilter ( )
Returns
bool

Definition at line 54 of file class.arIndexTableField.php.

References $has_filter.

54  {
55  return $this->has_filter;
56  }

◆ getSortable()

arIndexTableField::getSortable ( )
Returns
bool

Definition at line 70 of file class.arIndexTableField.php.

References $sortable.

70  {
71  return $this->sortable;
72  }

◆ getVisibleDefault()

arIndexTableField::getVisibleDefault ( )
Returns
boolean

Definition at line 87 of file class.arIndexTableField.php.

References $visible_default.

◆ setHasFilter()

arIndexTableField::setHasFilter (   $has_filter)
Parameters
$has_filter

Definition at line 46 of file class.arIndexTableField.php.

References $has_filter.

46  {
47  $this->has_filter = $has_filter;
48  }

◆ setSortable()

arIndexTableField::setSortable (   $sortable)
Parameters
bool$sortable

Definition at line 62 of file class.arIndexTableField.php.

References $sortable.

62  {
63  $this->sortable = $sortable;
64  }

◆ setVisibleDefault()

arIndexTableField::setVisibleDefault (   $visible_default)
Parameters
boolean$visible_default

Definition at line 78 of file class.arIndexTableField.php.

References $visible_default, and arViewField\setVisible().

78  {
79  $this->setVisible(true);
80  $this->visible_default = $visible_default;
81  }
setVisible($visible)
+ Here is the call graph for this function:

Field Documentation

◆ $has_filter

arIndexTableField::$has_filter = false
protected

Definition at line 16 of file class.arIndexTableField.php.

Referenced by __construct(), getHasFilter(), and setHasFilter().

◆ $sortable

arIndexTableField::$sortable = false
protected

Definition at line 20 of file class.arIndexTableField.php.

Referenced by __construct(), getSortable(), and setSortable().

◆ $visible_default

arIndexTableField::$visible_default = false
protected

Definition at line 24 of file class.arIndexTableField.php.

Referenced by getVisibleDefault(), and setVisibleDefault().


The documentation for this class was generated from the following file: