コード例 #1
0
 public function process($filepath)
 {
     $jsonString = file_get_contents($filepath);
     $jsonArray = json_decode($jsonString, true);
     $import = new AviatorsUtilsTOImport();
     $messages = $import->import($jsonArray);
     return $messages;
 }
コード例 #2
0
ファイル: aviators_utils.to.php プロジェクト: dongchpp/BIPHP
/**
 * Simple Widget Logic Import Page
 */
function aviators_utils_to_import_page()
{
    $to = new AviatorsUtilsTOImport();
    $to->render();
}