2014-05-13 5 views

답변

0

, 당신은이 같은 방법 createdocx()에 $ 경로 매개 변수를 전달 :

<?php 

    $docx = new CreateDocx(); 

    $docx->addText('This is just a dummy text'); 

    $docx->createDocx($path); 

?> 

이 $ 경로에서 문서를 생성합니다. 따라서 항상 생성 된 문서의 경로가 있습니다