예제 #1
0
 public function setUp()
 {
     $this->contentblockinst = new ContentBlock();
     $this->contentblockinst->setName("blocco");
     $this->contentblockinst->setDescription("blocco");
     $this->contentblockinst->setContent($this->htmlcontent);
     $this->contentblockinst->setBgUrl("url");
     $this->contentblockinst->setBgRed(0);
     $this->contentblockinst->setBgGreen(2);
     $this->contentblockinst->setBgBlue(0);
     $this->contentblockinst->setBgOpacity(0.3);
     $this->contentblockinst->setBgRepeatx(false);
     $this->contentblockinst->setBgRepeaty(true);
     $this->contentblockinst->setBgSize("contain");
 }