Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Differences Between: [Versions 310 and 311] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]

Contains class core_tag_manage_table

Copyright: 2015 Marina Glancy
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 281 lines (10 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

core_tag_manage_table:: (11 methods):
  __construct()
  get_sql_where()
  query_db()
  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

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