Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

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: 280 lines (9 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