php PMA_createOpenDocument类(方法)实例源码

下面列出了php PMA_createOpenDocument 类(方法)源码代码实例,从而了解它的用法。

作者:dingdong231    项目:g5_them   
/**
  * Outputs export footer
  *
  * @return  bool        Whether it suceeded
  *
  * @access  public
  */
 function PMA_exportFooter()
 {
     $GLOBALS['odt_buffer'] .= '</office:text>' . '</office:body>' . '</office:document-content>';
     if (!PMA_exportOutputHandler(PMA_createOpenDocument('application/vnd.oasis.opendocument.text', $GLOBALS['odt_buffer']))) {
         return FALSE;
     }
     return TRUE;
 }

作者:AmberWis    项目:laba_we   
/**
  * Outputs export footer
  *
  * @return  bool        Whether it succeeded
  *
  * @access  public
  */
 function PMA_exportFooter()
 {
     $GLOBALS['ods_buffer'] .= '</office:spreadsheet>' . '</office:body>' . '</office:document-content>';
     if (!PMA_exportOutputHandler(PMA_createOpenDocument('application/vnd.oasis.opendocument.spreadsheet', $GLOBALS['ods_buffer']))) {
         return false;
     }
     return true;
 }


问题


面经


文章

微信
公众号

扫码关注公众号