6 const COLUMNS_KEY =
'columns';
7 const TYPE_KEY =
'type';
16 return ZendDbSchema_Db_Schema_Table::PRIMARY_KEY;
24 return $this->
getTable()->getGenerator()->dropPrimaryKey($this);
32 return $this->
getTable()->getGenerator()->alterPrimaryKey($this);
40 return $this->
getTable()->getGenerator()->addPrimaryKey($this);
53 $this->_table = $table;
69 $data = $this->
getTable()->getCleanSchema();
86 $this->
__set(self::COLUMNS_KEY, array_unique($columns));
98 return in_array($columnName, $this->
getColumns());
111 $columns[] = $columnName;
124 $columns = $this->
__get(self::COLUMNS_KEY);
125 return is_array($columns) ? $columns : array();
138 unset($columns[$columnName]);