29 Jan
2008
29 Jan
'08
11:42 p.m.
On Jan 29, 2008 11:45 AM, Roman Chyla <roman.chyla@gmail.com> wrote:
however, would it be possible with Drupal to do something like this?
$new = get_new_node('article'); $new->add('title', 'Hello world'); $new->add('userid', 1); $new->commit;
basically, the new import function would only have to construct the node object and submit it to Drupal
Hi Roman There would be nothing to prevent any examples in this thread being made into a class with methods like 'add' and 'commit'. The challenge is having working code inside the black box. Simon