This file contains hidden or 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 | |
namespace Acme\PollBundle\Form\Type; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\OptionsResolver\OptionsResolverInterface; | |
use Acme\PollBundle\Entity\FieldRepository; |
This file contains hidden or 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 | |
namespace Acme\ContentBundle\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
/** | |
* @ORM\Entity(repositoryClass="Acme\ContentBundle\Entity\AbstractContentRepository") | |
* @ORM\Table(name="content") | |
* @ORM\HasLifecycleCallbacks |
This file contains hidden or 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 | |
namespace Acme\TourBundle\Entity; | |
use Doctrine\ORM\EntityRepository; | |
use Doctrine\ORM\NoResultException; | |
/** | |
* TourRepository | |
*/ |
This file contains hidden or 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
public '__CLASS__' => string 'Cisneros\ArtworkBundle\Entity\Artwork' (length=37) | |
public 'object_number' => string '1988.18' (length=7) | |
public 'title_en' => string 'Physichromie No. 500' (length=21) | |
public 'title_es' => string 'Physichromie No. 500' (length=21) | |
public 'width' => string '484.0' (length=5) | |
public 'height' => string '8.0' (length=3) | |
public 'length' => string '183.0' (length=5) | |
public 'room' => string '101' (length=3) | |
public 'medium_en' => string 'Casein paint on PVC and acrylic on plywood sheets' (length=49) | |
public 'medium_es' => string 'Pintura de caseina sobre PVC y láminas de acrílico sobre contrachapado' (length=72) |
This file contains hidden or 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
object(stdClass)[1332] | |
public '__CLASS__' => string 'Cisneros\ArtworkBundle\Entity\Artwork' (length=37) | |
public 'object_number' => string '1988.18' (length=7) | |
public 'title_en' => string 'Physichromie No. 500' (length=21) | |
public 'title_es' => string 'Physichromie No. 500' (length=21) | |
public 'width' => string '484.0' (length=5) | |
public 'height' => string '8.0' (length=3) | |
public 'length' => string '183.0' (length=5) | |
public 'room' => string '101' (length=3) | |
public 'medium_en' => string 'Casein paint on PVC and acrylic on plywood sheets' (length=49) |
This file contains hidden or 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
public function buildForm(FormBuilderInterface $builder, array $options) { | |
$subscriber = new AddDateFieldSubscriber($builder->getFormFactory()); | |
$builder->addEventSubscriber($subscriber); | |
$builder | |
->add('images', 'collection', array( | |
'type' => new UploadType(), | |
'required' => true, | |
'allow_add' => true, | |
'allow_delete' => true, | |
'by_reference' => false, |
This file contains hidden or 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
(function($) { | |
/** | |
* GPTMC Map Animation by Bluecadet, 2012 | |
* http://www.bluecadet.com | |
* | |
* Copyright (c) 2012 Bluecadet | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains hidden or 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
(function($) { | |
var methods = { | |
init: function(options) { | |
return this; // Always return this to maintain ability to chain functions together | |
}, | |
update: function(options) { | |
return this; | |
}, | |
destroy: function() { | |
return this; // I guess |
This file contains hidden or 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
rm -rf app/cache/* | |
rm -rf app/logs/* | |
sudo chmod +a "www allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs | |
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/cache app/logs |
This file contains hidden or 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
; Core version | |
; ------------ | |
; Each makefile should begin by declaring the core version of Drupal that all | |
; projects should be compatible with. | |
core = 7.x | |
; API version | |
; ------------ | |
; Every makefile needs to declare its Drush Make API version. This version of |
NewerOlder