コード例 #1
0
ファイル: TextTest.php プロジェクト: hcvcastro/pxp
 /**
  * Get text
  */
 public function testText()
 {
     $oText = new Text('text');
     $this->assertEquals($oText->getText(), 'text');
 }
コード例 #2
0
ファイル: ListItem.php プロジェクト: doit05/relProject
 /**
  * Get text
  *
  * @return string
  * @since 0.11.0
  */
 public function getText()
 {
     return $this->textObject->getText();
 }
コード例 #3
0
ファイル: TextTest.php プロジェクト: doit05/relProject
 /**
  * Get text
  */
 public function testText()
 {
     $oText = new Text(htmlspecialchars('text', ENT_COMPAT, 'UTF-8'));
     $this->assertEquals(htmlspecialchars('text', ENT_COMPAT, 'UTF-8'), $oText->getText());
 }