App::730::functions

DESCRIPTION


DEPENDS

event_add()

Adds new event, or updates the old one

Add new event

event_add
(
  #'event.ID' => '', || 'event.ID_entity' => '',
  'event.name' => 'My Event',
  'event.datetime_start' => 'CURDAY()',
  'event.datetime_finish' => 'CURDAY()+1',
  'event.datetime_publish_start' => 'NOW()',
  'event.datetime_publish_stop' => 'NULL',
  'event.link' => 'http://',
  'event.location' => 'Bratislava',
  'event.metadata' => '<...>',
  'event.status' => 'N',
  'event_lng.lng' => $tom::lng,
  'event_lng.name_long' => 'My Event form my beer friends',
  'event_lng.description_short' => '<p>...',
  'event_lng.description' => '<p>...'
);

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/730/functions.pm'

AddThis Social Bookmark Button RSS

User Comments