![]() |
CMS
Version 3.9
|
Defines the Article class. More...
Public Member Functions | |
Image () | |
Sites ($constraint="") | |
Comments ($constraint="") | |
Blog () | |
We retrieve the blog related to the article by matching the article_type field to the blog's title field. More... | |
Author () | |
getAuthorName () | |
getBlog () | |
getURL () | |
getBlogSubscribers () | |
getViewIdentifier () | |
formatPostDate () | |
Article () | |
search ($params, $range=null) | |
DataItems must implement this method to provide search functionality. More... | |
Static Public Member Functions | |
static | fromIdentifier ($identifier) |
Public Attributes | |
$fields | |
$relations | |
$fieldAliases = array("message" => "Article Content") | |
$versioned_fields = array("title", "message", "image_id", "teaser", "tags", "author", "publication") | |
Defines the Article class.
Definition at line 44 of file article.inc.
Article::Article | ( | ) |
Definition at line 199 of file article.inc.
Article::Author | ( | ) |
Definition at line 110 of file article.inc.
Article::Blog | ( | ) |
We retrieve the blog related to the article by matching the article_type field to the blog's title field.
This function may return null as an article may not be related to any blog.
Used for merge codes and for comment xref function verifyEnabled
Definition at line 101 of file article.inc.
Article::Comments | ( | $constraint = "" | ) |
Definition at line 89 of file article.inc.
Article::formatPostDate | ( | ) |
Definition at line 184 of file article.inc.
|
static |
Definition at line 134 of file article.inc.
Article::getAuthorName | ( | ) |
Definition at line 116 of file article.inc.
Article::getBlog | ( | ) |
Definition at line 125 of file article.inc.
Article::getBlogSubscribers | ( | ) |
Definition at line 156 of file article.inc.
Article::getURL | ( | ) |
Definition at line 143 of file article.inc.
Article::getViewIdentifier | ( | ) |
Definition at line 171 of file article.inc.
Article::Image | ( | ) |
Definition at line 79 of file article.inc.
Article::search | ( | $params, | |
$range = null |
|||
) |
DataItems must implement this method to provide search functionality.
mixed | $params | either search text or a SearchParameters object |
array | $range | an array of primary key IDs to which the search must be constrained |
Implements Searchable.
Definition at line 212 of file article.inc.
Article::Sites | ( | $constraint = "" | ) |
Definition at line 84 of file article.inc.
Article::$fieldAliases = array("message" => "Article Content") |
Definition at line 75 of file article.inc.
Article::$fields |
Definition at line 46 of file article.inc.
Article::$relations |
Definition at line 68 of file article.inc.
Article::$versioned_fields = array("title", "message", "image_id", "teaser", "tags", "author", "publication") |
Definition at line 77 of file article.inc.