Deprecated Symfony Feature

I have been using Symfony for several weeks, and I often use online help, but the "Symfony Specific Guide" seems very outdated. For example, I want to use a helper form function, for example, the select_tag () function or the ajax form_remote_tag () function. However, it seems they no longer exist, and I can only find their names in the deprecatedhelpers file. Does anyone know how I can use these features? or are there updated names for them that I can use in the latest version of symfony?

Thank!

+3
source share
1 answer

"" " symfony" 1.3/1.4. . , , symfony symfony .

. select_tag() - symfony.

, form_remote_tag() sfProtoculous. config/ProjectConfiguration.class.php ( setup()):

<?php
// ...skipped...
class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    // ...skip...
    $this->enablePlugins(array('sfProtoculousPlugin'));
    // ...skip...
  }

et voilà!

+1

Source: https://habr.com/ru/post/1727888/


All Articles