/** * Создает новый блок-таблицу * @deprecated * @param $name * @param bool $enabled * @param string $alias * @param int $cols * @param string $templatefile * @param string $plaintext */ public function AddTable($name, $enabled = true, $alias = '', $cols = 5, $templatefile = '', $plaintext = '') { if (isset($this->Blocks[$name])) { $this->Blocks[$name] = Starkyt::RepairTable($this->Blocks[$name], $enabled, $alias, $cols, $templatefile, $plaintext); } else { $this->Blocks[$name] = Starkyt::CreateTable($enabled, $alias, $cols, $templatefile, $plaintext); } $this->GetSBlocks($templatefile); }