1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Node Datawriters

Discussion in 'Closed Suggestions' started by xf_phantom, Aug 8, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    It would be nice, if the node_type_id would be set automatically by the forum/page/category/linkforum/etc... datawriter, so we don't have to set this field when using the forum/page/category/linkforum datawriter.

    /** @var XenForo_DataWriter_Forum $nodeDw */
    $nodeDw XenForo_DataWriter::create('XenForo_DataWriter_Forum');
    // why do i need the following line?
    // i'm already using the forum datawriter, he should handle this for me
    Last edited: Aug 8, 2013
  2. Marcus

    Marcus Well-Known Member

    Actually that is why there are different datawriters :) Of course it's usefult to auto-populate all unchangeable input from the writer.

Share This Page