/**
  * ルートフォルダ取得
  *
  * @param $community_id
  */
 function get_root_folder_row($community_id)
 {
     /* ルートフォルダを取得する */
     $folder_row = ACSFolderModel::select_root_folder_row($community_id);
     /* ない場合、作成する */
     if ($folder_row == "") {
         $ret = ACSFolderModel::insert_root_folder($community_id);
         /* ない場合、エラー */
         if (!$ret) {
             print "ERROR: Create root folder failed.<br>\n";
             exit;
         } else {
             // もう一度取得する
             return $this->get_root_folder_row($community_id);
         }
     }
     return $folder_row;
 }