Skip to content

たった数行のコードで配列をCSV化

Notifications You must be signed in to change notification settings

simjo/FastCSV

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

#FastCSV

  • version 0.8

##条件

  • CakePHP 2.x.x
  • mb(マルチバイト文字列)が使用できる環境

##機能

  • 数行のコードでCSV化を可能にする fastExport()
  • その他一般的なCSVヘルパー機能

##ダウンロード

##インストール

  • PluginフォルダにFastCSVフォルダを設置します。
  • app/Config/bootstrap.php にて以下の記述を行う。
    • CakePlugin::load('FastCSV');
  • 目的のコントローラにて以下の記述を行う。
    • public $helpers = array('FastCSV.FastCSV');

##注意点

  • fastExport()について
    • CakePHPのfindでデータを抽出する際、recursive = 0 にする事を忘れないでください。
  • 目的のアクションにて以下の記述すると問題が解消するかもしれません。
    • Configure::write('debug', 0);
    • $this->layout = false;

##ライセンス

##コピーライト

About

たった数行のコードで配列をCSV化

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published