App::401::functions

DESCRIPTION


DEPENDS

article_add()

Adds new article to category, or updates old article

Add new article (uploading new content)

article_add
(
  'article.ID' => '',
  'article.ID_entity' => '',
  'article_ent.ID_author' => '',
  'article_attrs.ID_category' => '',
  'article_attrs.name' => '',
  'article_attrs.lng' => '',
  'article_content.ID_editor' => '',
  'article_content.subtitle' => '',
  'article_content.mimetype' => '',
  'article_content.abstract' => '',
  'article_content.body' => '',
  #'article_content.keywords' => '',
  'article_content.lng' => '',
);

Add new symlink to article in another directory (or the same with another name)

article_add
(
  'article.ID_entity' => '',
  'article_attrs.ID_category' => '',
);

Move article to another directory (new ID of category for symlink defined)

article_add
(
  'article.ID' => '',
  'article_attrs.ID_category' => '',
);

article_content_extract_keywords()

Extracts keywords from article_content.abstract/body

article_content_extract_keywords
(
  'article_content.mimetype' => '',
  'article_content.abstract' => '',
  'article_content.body' => '',
);

article_visit()

Increase number of article visits

AUTHORS

Comsultia, Ltd. (open@comsultia.com)


If published informations are not helpfull, something is missing or wrong, please report. Thanx for contribution.
This content is generated from file 'http://svn.cyclone3.org/trunk/frame/_addons/App/401/functions.pm'

AddThis Social Bookmark Button RSS

User Comments