Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403]

(no description)

File Size: 305 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_tag_manage_table:: (12 methods):
  __construct()
  get_sql_where()
  query_db()
  show_hide_link()
  get_row_class()
  col_name()
  col_flag()
  col_fullname()
  col_timemodified()
  col_isstandard()
  col_select()
  col_controls()


Class: core_tag_manage_table  - X-Ref

Class core_tag_manage_table

__construct($tagcollid)   X-Ref
Constructor

param: int $tagcollid

get_sql_where()   X-Ref

return: string sql to add to where statement.

query_db($pagesize, $useinitialsbar = true)   X-Ref
Query the db. Store results in the table object for use by build_table.

param: int $pagesize size of page for paginated displayed table.
param: bool $useinitialsbar do you want to use the initials bar. Bar

show_hide_link($column, $index)   X-Ref
Override the table show_hide_link to not show for select column.

param: string $column the column name, index into various names
param: int $index numerical index of the column
return: string HTML fragment

get_row_class($row)   X-Ref
Get any extra classes names to add to this row in the HTML

param: stdClass $row array the data for this row.
return: string added to the class="" attribute of the tr.

col_name($tag)   X-Ref
Column name

param: stdClass $tag
return: string

col_flag($tag)   X-Ref
Column flag

param: stdClass $tag
return: string

col_fullname($tag)   X-Ref
Column fullname (user name)

param: stdClass $tag
return: string

col_timemodified($tag)   X-Ref
Column time modified

param: stdClass $tag
return: string

col_isstandard($tag)   X-Ref
Column tag type

param: stdClass $tag
return: string

col_select($tag)   X-Ref
Column select

param: stdClass $tag
return: string

col_controls($tag)   X-Ref
Column controls

param: stdClass $tag
return: string