コード例 #1
0
 public function &feed_publishTemplatizedAction($title_template, $title_data, $body_template, $body_data, $body_general, $image_1 = null, $image_1_link = null, $image_2 = null, $image_2_link = null, $image_3 = null, $image_3_link = null, $image_4 = null, $image_4_link = null, $target_ids = '', $page_actor_id = null, $template_id = null, $st1 = null, $st2 = null)
 {
     $this->m_an->gen_feed_link($title_template);
     $this->m_an->gen_feed_link($body_template);
     $this->m_an->gen_feed_link($body_general);
     $this->m_an->gen_feed_link_templatized_data($title_data);
     $this->m_an->gen_feed_link_templatized_data($body_data);
     $r = parent::feed_publishTemplatizedAction($title_template, $title_data, $body_template, $body_data, $body_general);
     if (!empty($r)) {
         $this->m_an->kt_templatized_feed_send($this->m_an->get_fb_param('user'), $template_id, $st1, $st2);
     }
     return $r;
 }