public function FillBrickContent()
 {
     $year = $this->groupItem->dateline + $this->_data->numcrs - 1;
     $this->_brick->content = brick::ReplaceVarByData($this->_brick->content, array("fullname" => $this->_fullname, "shortname" => $this->_shortname, "numgroup" => $this->groupItem->numgroup, "field" => $this->groupItem->code . " " . "«" . $this->groupItem->name . "»", "semestr" => $this->_data->semestr === 1 ? 'осенний' : 'весенний', "year" => $year . "/" . ($year + 1), "tdheadForm" => $this->_tdheadForm, "tdheadSubj" => $this->_tdheadSubj, "rows" => $this->_rows));
 }
Пример #2
0
 /**
  * @param string $name
  * @param string $key
  */
 public function __construct($name = '', $key = '')
 {
     parent::__construct($name, $key);
 }