Inherits DataItem.
Definition at line 68 of file contact_us.inc.
◆ formatList()
static ContactTopic::formatList |
( |
| ) |
|
|
static |
Definition at line 84 of file contact_us.inc.
88 $siteCount = queryValue(
Site,
"COUNT(1)",
"");
100 ->bind(
":s",
$site->site_id)
103 if(count($siteTopics) > 0)
105 $topicKeyList = formatItems($siteTopics,
"{contact_topic_id}",
",");
106 $topics = query(
ContactTopic,
"WHERE contact_topic_id IN ($topicKeyList) ORDER BY sort_order");
static getSite()
Returns the Site object that describes the currently active site (i.e.
◆ Sites()
◆ $fields
Initial value:= array(
"contact_topic_id" => Number,
"topic" => String,
"recipients" => Text,
"sort_order" => Number
)
Definition at line 73 of file contact_us.inc.
◆ $primary_key
ContactTopic::$primary_key = "contact_topic_id" |
◆ $relations
◆ $table
ContactTopic::$table = "contact_topic" |
The documentation for this class was generated from the following file: