예제 #1
0
파일: TextTest.php 프로젝트: pnaq57/zf2demo
 /**
  * @covers Zend\Db\Sql\Ddl\Column\Text::getExpressionData
  */
 public function testGetExpressionData()
 {
     $column = new Text('foo');
     $this->assertEquals(array(array('%s TEXT %s %s', array('foo', 'NOT NULL', ''), array($column::TYPE_IDENTIFIER, $column::TYPE_LITERAL, $column::TYPE_LITERAL, $column::TYPE_LITERAL))), $column->getExpressionData());
 }
예제 #2
0
파일: Text.php 프로젝트: bhcosta90/zend
 public function __construct($name, $nullable = false)
 {
     $this->setNullable($nullable);
     parent::__construct($name);
 }