Изменяет форму

@param string $name   имя файла (без пути и расширения)
@param string $code   код формы
@param string $title  название формы

@return void

@since 1.01
971276
public function update($name, $code, $title)
	{
		$templates = $this->getTemplates();
		$templates->update($name, $this->plugin->name, $code, $title);
	}
929835
public function load($name, $code = null)
    {
        if (is_null($code) or !$code) $code = self::$_languageCode;

        // Lang file
        $file = "../App/Language/$code/$name.php";

        // Check if is readable
        if (is_readable($file)) {

            // Require file
            $this->_array = include($file);

        } else {

            // Display error
            echo \Core\Error::display("Could not load language file '$code/$name.php'");
            die;

        }

    }
1191513
public static function register($names, $check, $title = null)
    {
        if (!is_array($names)) {
            $names = [$names];
        }

        foreach ($names as $name) {
            self::inst($name)->push($check, $title);
        }
    }
473545
public function set_title($title) {
        $title = format_string($title);
        $title = strip_tags($title);
        $title = str_replace('"', '&quot;', $title);
        $this->_title = $title;
    }
800657
public function addCategory($code, $name)
    {
        if (empty($code) || empty($name)) {
            return $this;
        }
        
        $data = (array) $this->getCategories();
        $data[] = [
            'code' => $code,
            'name' => $name,
        ];
        
        $this->setData('categories', $data);
        
        return $this;
    }
1287725
public function setTitle($title)
	{
		$title = strip_tags($title);

		$this->title_session = $title;

		$this->title = $title . $this->getDefault('separator') . $this->getDefault('title');
	}
990258
public void setTitle(final String title) {
        if (this.title == null) {
            this.title = new Content();
        }
        this.title.setValue(title);
    }
247722
public function setAll($title, $description, $image = null)
    {
        $this->setTitle($title);
        $this->setDescription($description);
        if (!is_null($image)) {
            $this->setImage($image);
        }
    }
1054572
function set_title($title) {
        global $PAGE;

        $this->page = null;
        $this->title = $title;
        // set_title calls format_string itself so no probs there
        $PAGE->set_title($this->title);
    }
513925
public static function forOptionName($name, $code = 0, Exception $cause = null)
    {
        return new static(sprintf(
            'The option "%s%s" does not exist.',
            strlen($name) > 1 ? '--' : '-',
            $name
        ), $code, $cause);
    }
1205175
public function setTitle($title)
    {
        $this->title = $title;

        $this->getViewService()->share('title', $this->getTitle());
    }
1169466
public function writeHeadline( string $title, int $level ) : void
	{
		$this->write( "%s %s\n\n", str_repeat( '#', $level ), $title );
	}
264173
protected function setTitle($title)
    {
        $title = trim(preg_replace('/\s\s+/', ' ', str_replace("\n", " ", $title)));

        if ($title != '') {
            $this->title = $title;
        }
    }
990299
protected function setTitleEditLanguage()
    {
        if (isset($this->data_language['code'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_language['native_name']));
        } else {
            $title = $this->text('Add language');
        }

        $this->setTitle($title);
    }
1338320
public function setWarehouseCode( $code )
	{
		$this->_checkCode( $code );

		if ( $code == $this->getWarehouseCode() ) { return; }

		$this->_values['warehousecode'] = (string) $code;
		$this->setModified();
	}
30348
private function createProductAssociationType($name, $code = null)
    {
        if (null === $code) {
            $code = $this->generateCodeFromName($name);
        }

        /** @var ProductAssociationTypeInterface $productAssociationType */
        $productAssociationType = $this->productAssociationTypeFactory->createNew();
        $productAssociationType->setCode($code);
        $productAssociationType->setName($name);

        $this->productAssociationTypeRepository->add($productAssociationType);
        $this->sharedStorage->set('product_association_type', $productAssociationType);

        return $productAssociationType;
    }
627364
protected function addError($key, $code, array $arguments = [], $title = '')
    {
        $message = $this->addMessage(Error::class, $key, $code, $arguments, $title);
        $this->result->addError($message);
    }