コード例 #1
0
ファイル: RedoImport.php プロジェクト: itto/wp-simple-locator
 public function __construct()
 {
     parent::__construct();
     $this->import_repo = new ImportRepository();
     $this->setID();
     $this->resetTransient();
     $this->success(3);
 }
コード例 #2
0
ファイル: UndoImport.php プロジェクト: itto/wp-simple-locator
 public function __construct()
 {
     parent::__construct();
     $this->validateUser();
     $this->import_repo = new ImportRepository();
     $this->setIDs();
     $this->deletePosts();
     $this->success(null);
 }
コード例 #3
0
 public function __construct()
 {
     parent::__construct();
     $this->copyFile();
 }