ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
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)
- 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

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.

{
$this->sortable = $sortable;
$this->has_filter = $has_filter;
}

Member Function Documentation

arIndexTableField::getHasFilter ( )
Returns
bool

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

References $has_filter.

{
}
arIndexTableField::getSortable ( )
Returns
bool

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

References $sortable.

{
}
arIndexTableField::getVisibleDefault ( )
Returns
boolean

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

References $visible_default.

arIndexTableField::setHasFilter (   $has_filter)
Parameters
$has_filter

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

References $has_filter.

{
$this->has_filter = $has_filter;
}
arIndexTableField::setSortable (   $sortable)
Parameters
bool$sortable

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

References $sortable.

{
$this->sortable = $sortable;
}
arIndexTableField::setVisibleDefault (   $visible_default)
Parameters
boolean$visible_default

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

References $visible_default, and arViewField\setVisible().

{
$this->setVisible(true);
$this->visible_default = $visible_default;
}

+ Here is the call graph for this function:

Field Documentation

arIndexTableField::$has_filter = false
protected

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

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

arIndexTableField::$sortable = false
protected

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

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

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: