discussion() 공개 메소드

Create or update a discussion.
부터: 2.0.0
public discussion ( $CategoryUrlCode = '' )
예제 #1
0
 /**
  * Create the new question method on post controller.
  *
  * @param PostController $sender Sending controller instance.
  */
 public function postController_question_create($sender, $CategoryUrlCode = '')
 {
     // Create & call PostController->Discussion()
     $sender->View = PATH_PLUGINS . '/QnA/views/post.php';
     $sender->setData('Type', 'Question');
     $sender->discussion($CategoryUrlCode);
 }