PHP Класс ContextBoxArticle

Наследование: extends DatabaseObject
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$m_columnNames
$m_dbTableName
$m_keyColumnNames

Открытые методы

Метод Описание
GetList ( array $params, string $p_order = null, integer $p_start, integer $p_limit, integer &$p_count, $p_skipCache = false ) : array Gets an issues list based on the given parameters.
OnArticleCopy ( $origArticle, $destArticle )
OnArticleDelete ( integer $articleNumber ) : void Remove the article from any related articles list.
OnContextBoxDelete ( integer $contextBoxId ) : void Remove the given context box articles.
__construct ( $p_context_id = null, $fk_article_no = null )
insertList ( $p_context_id, $p_article_no_array )
removeList ( $p_context_id )
saveList ( $p_context_id, $p_article_no_array )

Описание методов

GetList() публичный статический Метод

Gets an issues list based on the given parameters.
public static GetList ( array $params, string $p_order = null, integer $p_start, integer $p_limit, integer &$p_count, $p_skipCache = false ) : array
$params array
$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)
Результат array $issuesList An array of Issue objects

OnArticleCopy() публичный статический Метод

public static OnArticleCopy ( $origArticle, $destArticle )

OnArticleDelete() публичный статический Метод

Remove the article from any related articles list.
public static OnArticleDelete ( integer $articleNumber ) : void
$articleNumber integer
Результат void

OnContextBoxDelete() публичный статический Метод

Remove the given context box articles.
public static OnContextBoxDelete ( integer $contextBoxId ) : void
$contextBoxId integer
Результат void

__construct() публичный Метод

public __construct ( $p_context_id = null, $fk_article_no = null )

insertList() публичный статический Метод

public static insertList ( $p_context_id, $p_article_no_array )

removeList() публичный статический Метод

public static removeList ( $p_context_id )

saveList() публичный статический Метод

public static saveList ( $p_context_id, $p_article_no_array )

Описание свойств

$m_columnNames публичное свойство

public $m_columnNames

$m_dbTableName публичное свойство

public $m_dbTableName

$m_keyColumnNames публичное свойство

public $m_keyColumnNames