/**
  * @test
  *
  * @group builder
  * @group builder-build-who
  **/
 public function whoページを構築する()
 {
     $who_path = ROOT . '/public_html/information/who.html';
     if (file_exists($who_path)) {
         unlink($who_path);
     }
     $this->builder->buildContents('who');
     $this->assertTrue(file_exists($who_path));
 }
Example #2
0
 /**
  * デモページの構築
  *
  * @return void
  **/
 private function _buildDemoPage()
 {
     $builder = new ContentsBuilder();
     $builder->setEntryData($this->entry_data);
     $builder->buildContents($this->params[1]);
 }
Example #3
0
 /**
  * ページを構築する
  *
  * @return void
  **/
 private function _build()
 {
     shuffle($this->crawl_data);
     $builder = new ContentsBuilder();
     $builder->setEntryData($this->crawl_data);
     $builder->setS3(new S3());
     $builder->buildContents('index');
 }