ZendDbSchema
Schema management for Zend Framework
 All Classes Namespaces Functions Pages
Column.php
1 <?php
43 {
49  protected function _getSchemaKey()
50  {
51  return ZendDbSchema_Db_Schema_Table::COLUMNS_KEY;
52  }
53 
57  protected function _getDropSql()
58  {
59  return $this->getTable()->getGenerator()->dropColumn($this);
60  }
61 
65  protected function _getAlterSql()
66  {
67  return $this->getTable()->getGenerator()->alterColumn($this);
68  }
69 
73  protected function _getCreateSql()
74  {
75  return $this->getTable()->getGenerator()->createColumn($this);
76  }
77 
83  public function isNullable()
84  {
85  return (bool) $this->__get('nullable');
86  }
87 
93  public function isSigned()
94  {
95  return (bool) $this->__get('signed');
96  }
97 }