jindan

Untitled

Jul 26th, 2013
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. $table = JTable::getInstance('Content', 'JTable', array());
  2. $data = array(
  3.     'title' => $my_title,
  4.     'introtext' => $my_introtext,
  5.     ....
  6.     'metadata' => array(
  7.           ...,
  8.          'tags' => $list_of_tag[id],
  9.           ...,
  10.        ),
  11.   );
  12. $table->bind($data);
  13. $table->check();
  14. $table->store();
Advertisement
Add Comment
Please, Sign In to add comment