public function addLayoutColumn()
 {
     $columnID = parent::addLayoutColumn();
     $db = Loader::db();
     $db->Execute('insert into AreaLayoutThemeGridColumns (arLayoutColumnID) values (?)', array($columnID));
     return ThemeGridColumn::getByID($columnID);
 }
 public function duplicate($newAreaLayout)
 {
     $areaLayoutColumnID = parent::duplicate($newAreaLayout);
     $db = Loader::db();
     $v = array($areaLayoutColumnID, $this->arLayoutColumnSpan, $this->arLayoutColumnOffset);
     $db->Execute('insert into AreaLayoutThemeGridColumns (arLayoutColumnID, arLayoutColumnSpan, arLayoutColumnOffset) values (?, ?, ?)', $v);
     $newAreaLayoutColumn = ThemeGridColumn::getByID($areaLayoutColumnID);
     return $newAreaLayoutColumn;
 }