PHP code example of bgcc / sf-bootstrap-propel-admin-theme-plugin

1. Go to this page and download the library: Download bgcc/sf-bootstrap-propel-admin-theme-plugin library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bgcc / sf-bootstrap-propel-admin-theme-plugin example snippets

 php
    $this->enablePlugins('sfBootstrapPropelAdminThemePlugin');
    
 php
    $this->setWidget('widget_name', new sfWidgetFormBootstrap3I18nNumber(array('culture' => 'de', 'prepend' => '€')));
    
 php
    $this->setWidget('widget_name', new sfWidgetFormBootstrap3Input(array('append' => '€')));
    
 php
    $this->setWidget('widget_name', new sfWidgetFormChoice(array(
        'choices'        => $choices,
        'expanded'       => true,
        'multiple'       => true,
        'renderer_class' => 'sfWidgetFormBootstrap3SelectCheckbox'
    )));
    
 php
    $this->setWidget('widget_name', new sfWidgetFormChoice(array(
        'choices'        => $choices,
        'expanded'       => true,
        'renderer_class' => 'sfWidgetFormBootstrap3SelectRadio'
    )));