Property | Type | Description | |
---|---|---|---|
$m_columnNames | |||
$m_dbTableName | |||
$m_keyColumnNames |
Method | Description | |
---|---|---|
AddTopicToArticle ( integer $p_topicId, integer $p_articleNumber ) : void | Link a topic to an article. | |
ArticleTopic ( ) | ||
GetArticleTopics ( integer $p_articleNumber, boolean $p_countOnly = false ) : mixed | Get the topics for the given article. | |
GetArticlesWithTopic ( integer $p_topicId ) : array | Get the Articles that have the given Topic. | |
GetList ( array $p_parameters, string $p_order = null, integer $p_start, integer $p_limit, integer &$p_count, $p_skipCache = false ) : array | Returns an article topics list based on the given parameters. | |
OnArticleCopy ( integer $p_srcArticleNumber, integer $p_destArticleNumber ) : void | Copy the topic pointers | |
OnArticleDelete ( integer $p_articleNumber ) : void | Remove topic pointers for the given article. | |
RemoveTopicFromArticle ( integer $p_topicId, integer $p_articleNumber ) : void | Unlink a topic from an article. | |
RemoveTopicFromArticles ( integer $p_topicId ) : void | Unlink a topic from all articles. | |
getArticleNumber ( ) : integer | ||
getTopicId ( ) : integer |
Method | Description | |
---|---|---|
ProcessListParameters ( array $p_param ) : array | Processes a paremeter (condition) coming from template tags. | |
buildSubtopicsArray ( $p_parentIds ) : array | Retrieves the subtopics of the given parent. |
public static GetArticlesWithTopic ( integer $p_topicId ) : array | ||
$p_topicId | integer | |
return | array |
public static GetList ( array $p_parameters, string $p_order = null, integer $p_start, integer $p_limit, integer &$p_count, $p_skipCache = false ) : array | ||
$p_parameters | array | An array of ComparisonOperation objects |
$p_order | string | An array of columns and directions to order by |
$p_start | integer | The record number to start the list |
$p_limit | integer | The offset. How many records from $p_start will be retrieved. |
$p_count | integer | The total count of the elements; this count is computed without applying the start ($p_start) and limit parameters ($p_limit) |
return | array | $articleTopicsList An array of Topic objects |
public static OnArticleDelete ( integer $p_articleNumber ) : void | ||
$p_articleNumber | integer | |
return | void |
public static RemoveTopicFromArticles ( integer $p_topicId ) : void | ||
$p_topicId | integer | |
return | void |