Method |
Description |
|
GetNumPublications ( ) : integer |
Return the total number of publications. |
|
GetPublications ( string $p_name = null, integer $p_aliasId = null, array $p_sqlOptions = null ) : array |
Return all publications as an array of Publication objects. |
|
Publication ( integer $p_publicationId = null ) |
A publication represents a magazine or newspaper. |
|
commentsArticleDefaultEnabled ( ) : boolean |
Return TRUE if comments will default to enabled in the
article edit screen. |
|
commentsEnabled ( ) : boolean |
Alias for getCommentsEnabled |
|
commentsPublicModerated ( ) : boolean |
Get whether comments made by the public are moderated. |
|
commentsSubscribersModerated ( ) : boolean |
Return TRUE if comments made by subscribers are moderated. |
|
create ( array $p_values = null ) : boolean |
Create the publication. |
|
delete ( ) : boolean |
Delete the publication and all of its aliases. |
|
getCommentsEnabled ( ) : boolean |
Return TRUE if comments are enabled for this publication. |
|
getCommentsModeratorFrom ( ) : string |
Get from which address moderator receives the info email. |
|
getCommentsModeratorTo ( ) : string |
Get moderator email address for this publication. |
|
getCurrency ( ) : string |
|
|
getDefaultAliasId ( ) : integer |
|
|
getDefaultLanguageId ( ) : integer |
Get the default language for this publication. |
|
getForumId ( ) : integer |
Return the forum associated with this publication. |
|
getLanguageId ( ) : integer |
Get the default language for this publication. |
|
getLanguages ( integer $p_excludeLanguageId = null, array $p_order = [], $p_published = false ) : array |
Return all languages used in the publication as an array of
Language objects. |
|
getName ( ) : string |
Get the name of this publication. |
|
getPaidTime ( ) : integer |
|
|
getPublicComments ( ) : boolean |
Return true if comments can be posted by unknown readers. |
|
getPublicationId ( ) : integer |
Get the unique ID for this publication. |
|
getSeo ( ) : integer |
Return the SEO params. |
|
getTimeUnit ( ) : string |
|
|
getTimeUnitName ( integer $p_languageId = null ) : string |
Returns the publication subscription time unit name. |
|
getTrialTime ( ) : integer |
|
|
getUnitCost ( ) : float |
|
|
getUnitCostAllLang ( ) : float |
|
|
getUrlTypeId ( ) : integer |
Get the URL type for this publication. |
|
isCaptchaEnabled ( ) : boolean |
Return TRUE if a CAPTCHA is used to block comment spam when a
user is posting. |
|
isSpamBlockingEnabled ( ) : boolean |
Return TRUE if comments are checked if they are SPAM before they
are accepted. |
|
publicComments ( ) : boolean |
Alias for getPublicComments |
|
setCaptchaEnabled ( boolean $p_value ) : boolean |
Set whether a CAPTCHA should be used to block comment spam when
a user is posting. |
|
setCommentsArticleDefaultEnabled ( boolean $p_value ) : boolean |
Set whether comments will default to enabled in the
article edit screen. |
|
setCommentsEnabled ( boolean $p_value ) : boolean |
Set whether comments are enabled for this publication. |
|
setCommentsModeratorFrom ( string $p_value ) : boolean |
Set from which address moderator receives the info email. |
|
setCommentsModeratorTo ( string $p_value ) : boolean |
Set moderator email adddress to which info email is send. |
|
setCommentsPublicModerated ( boolean $p_value ) : boolean |
Set whether public comments are moderated. |
|
setCommentsSubscribersModerated ( boolean $p_value ) : boolean |
Set whether subscriber comments are moderated. |
|
setForumId ( $p_value ) |
fn getSeo |
|
setPublicComments ( $p_value ) : boolean |
Set a flag that controls whether an unknown user may post comments. |
|
setSpamBlockingEnabled ( boolean $p_value ) : boolean |
Set whether to check comments for SPAM before posting them. |
|
update ( array $p_columns = null, boolean $p_commit = true, boolean $p_isSql = false ) : boolean |
Update the specified columns in the publication. |
|