/** * Создает новый субблок-ячейку таблицы. * @deprecated * @param $name * @param bool $enabled * @param array $vars * @param array $tempvars * @param string $templatefile * @param string $plaintext * @param int $colspan * @param int $rowspan * @param array $child * @return int */ public function AddTableCell($name, $enabled = true, $vars = array(), $tempvars = array(), $templatefile = '', $plaintext = '', $colspan = 1, $rowspan = 1, $child = array()) { $this->Blocks[$name]['sub'][] = Starkyt::CreateTableCell($enabled, $vars, $tempvars, $templatefile, $plaintext, $colspan, $rowspan, $child); $this->GetSBlocks($templatefile); foreach ($tempvars as $temp) { $this->GetSBlocks($temp); } return count($this->Blocks[$name]['sub']) - 1; }