This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// src/Acme/FormsTutorialBundle/AcmeFormsTutorialBundle.php | |
namespace Acme\FormsTutorialBundle; | |
use Symfony\Component\HttpKernel\Bundle\Bundle; | |
class AcmeFormsTutorialBundle extends Bundle | |
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//src/Acme/FormBundle/Forms/CustomFormType.php | |
namespace Acme\FormBundle\Forms; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\OptionsResolver\OptionsResolverInterface; | |
use Acme\FormBundle\Entity\FormData; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//src/Acme/FormBundle/Controller/FormController.php | |
namespace Acme\FormBundle\Controller; | |
use Symfony\Bundle\FrameworkBundle\Controller\Controller; | |
use Acme\FormBundle\Entity\FormData; | |
use Symfony\Component\HttpFoundation\Request; | |
class FormController extends Controller |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class HelioINIZetaDBFactory | |
{ | |
/** | |
* Database implementations mapping | |
* Key is eZPublish ImplementationAlias, Value is ezcDbFactory alias | |
* @var array | |
*/ | |
private static $map = array( | |
'mysql' => 'mysql', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ajout d'ezpublish dans un sous-module | |
git submodule add -b stable-4.4 https://github.com/ezsystems/ezpublish.git ezp | |
#Symlinks sur tous les fichiers sauf settings/ et extension/ | |
for f in $( ls ezp | egrep -i -v "extension|settings|var|config.php-RECOMMENDED|kickstart.ini-dist|LICENSE|README.txt|.htaccess_root"); do | |
echo "Symlink $f" | |
ln -s ezp/$f ./$f | |
done | |
#Symlinks sur tous les .ini par défaut |