Inherits DataItem.
Definition at line 39 of file tool_hint.inc.
◆ findToolHint()
static ToolHint::findToolHint |
( |
|
$code | ) |
|
|
static |
◆ isHidden()
Definition at line 58 of file tool_hint.inc.
65 ->bind(
":h", $this->hint_id,
":u",
$user->get(
$user->getPrimaryKey()))
68 return $status->hidden;
70 catch(DataNotFoundException $e)
◆ setHidden()
ToolHint::setHidden |
( |
|
$hidden = true | ) |
|
Definition at line 76 of file tool_hint.inc.
84 ->bind(
":h", $this->hint_id,
":u",
$user->get(
$user->getPrimaryKey()))
87 catch(DataNotFoundException $e)
91 $status->user_id =
$user->get(
$user->getPrimaryKey());
◆ $fields
Initial value:= array("hint_id" => Number,
"code" => String,
"title" => String,
"hint" => HTML,
"can_be_hidden" => Boolean,
"read_access" => String)
Definition at line 44 of file tool_hint.inc.
◆ $primary_key
ToolHint::$primary_key = "hint_id" |
◆ $table
ToolHint::$table = "tool_hint" |
The documentation for this class was generated from the following file:
- C:/code/cms.sonjara.com/cms/components/tool_hints/datamodel/tool_hint.inc