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 | |
namespace Application\Biologica\MainBundle\Form\Therapy; | |
use Symfony\Component\Form\AbstractType; | |
use Symfony\Component\Form\FormBuilderInterface; | |
use Symfony\Component\OptionsResolver\OptionsResolverInterface; | |
class ConceptType extends AbstractType | |
{ |
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 | |
/** | |
* This file is part of the Biologica project. | |
* | |
* (c) Arne Wieding arne@wieding.com | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. | |
*/ |
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
{ | |
"Monday": { | |
"from1": "14:00", | |
"to1": "16:00", | |
"from2": "18:00", | |
"to2": "19:00" | |
}, | |
"Tuesday": { | |
"from1": "14:00", | |
"to1": "16:00", |
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
security: | |
acl: | |
connection: default | |
encoders: | |
FOS\UserBundle\Model\UserInterface: sha512 | |
role_hierarchy: | |
ROLE_PATIENT: [ROLE_USER] | |
ROLE_THERAPIST: [ROLE_USER] | |
ROLE_PARTNER: [ROLE_USER] |
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
$entity = new Image(); | |
$em = $this->getDoctrine()->getManager(); | |
$product = $em->getRepository('ApplicationBiologicaMainBundle:Product\Product')->find($product_id); | |
$entity->setProduct($product); | |
$form = $this->createForm(new ImageType(), $entity, array('em' => $em)); |
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
$builder | |
->add('subject', 'text') | |
->add('message', 'textarea') | |
; | |
// ist das gleiche wie | |
$builder->add('subject', 'text')->add('message', 'textarea'); | |
// oder | |
$builder->add('subject', 'text'); |
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
Create new concept / template: | |
- The name I enter here is the same name/title as I have to enter again in the concept edit-mode page - can this be prefilled then? | |
PREVIEW-MODE SCREEN |
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
/* In-Tab sidebar */ | |
.tab_sidebar{/*margin-left:-100%*/float:left;position:relative; background-color: #ffffff;width: 246px; margin-left: 1px;} | |
.tab_sidebar_sep{background:#efefef;clear:both;float:none;height:5px;border-color:#ccc;border-style:solid;border-width:1px 0;margin:14px 0} | |
.tab_sidebar_switch{cursor:pointer;z-index:100;} | |
.on_switch {background: transparent;} | |
.off_switch {background: transparent;} | |
.tab_sidebar_inner {margin-left: 15px;margin-top: 50px;} | |
.tab_sidebar_inner form{padding:14px 0 9px 15px} | |
.tab_sidebar_inner form input{margin:0} |
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
{ | |
"pagination_data": { | |
"last": 2, | |
"current": 1, | |
"numItemsPerPage": 10, | |
"first": 1, | |
"pageCount": 2, | |
"totalCount": 18, | |
"pageRange": 2, | |
"startPage": 1, |
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
# CMF/CMS related stuff | |
doctrine_phpcr: | |
session: | |
backend: | |
type: doctrinedbal | |
workspace: default | |
odm: | |
auto_mapping: true | |
sonata_block: |
OlderNewer