public function getdirlist() { $idProject = $_POST['id']; $facade = new SystemFacade($idProject); $code = $facade->makeMovableFileList(); echo $code; }
public function getmovingdirlist() { $idFile = $_POST['id']; $idProject = $_POST['idProj']; $facade = new SystemFacade($idProject); $id = $facade->decrypt($idFile); $facade->setCurrentFile($id); echo $facade->makeMovableFileList(); }
<?php $_GRUNT_PATH = 1; require_once '../GruntFileSystem.php'; $idFile = $_POST['id']; $idProject = $_POST['idProj']; $facade = new SystemFacade($idProject); $facade->switchFileCrypted($idFile); echo $facade->makeMovableFileList();
<?php $_GRUNT_PATH = 1; require_once '../GruntFileSystem.php'; $idProject = $_POST['id']; $facade = new SystemFacade($idProject); $code = $facade->makeMovableFileList(); echo $code;