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
| $file_display = new stdClass(); | |
| $file_display->api_version = 1; | |
| $file_display->name = 'video__media_large__file_field_mediaelement_video'; | |
| $file_display->weight = 0; | |
| $file_display->status = TRUE; | |
| $file_display->settings = array( | |
| 'controls' => 1, | |
| 'width' => '1033', | |
| 'height' => '768', | |
| 'download_link' => 0, |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"> | |
| <SOAP-ENV:Header> | |
| <Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"> | |
| </Security> | |
| <RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"> | |
| <Credentials xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"> | |
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
| facebook: | |
| pattern: ^/ | |
| fos_facebook: | |
| app_url: "http://apps.facebook.com/motowypadypl/" | |
| server_url: "http://motowypady.pl/" | |
| default_target_path: / | |
| provider: my_fos_facebook_provider | |
| anonymous: true | |
| logout: | |
| handlers: ["fos_facebook.logout_handler"] |
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 | |
| /** | |
| * Created by JetBrains PhpStorm. | |
| * User: wodor | |
| * Date: 13.02.12 | |
| * Time: 23:27 | |
| * To change this template use File | Settings | File Templates. | |
| */ | |
| use Doctrine\Common\DataFixtures\FixtureInterface; |
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
| parameters: | |
| translator.class: WodorNet\MotoTripBundle\Service\Translator |
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
| $now = new \DateTime(); | |
| $before = new \DateTime('-2 days'); | |
| $intervalFromDiff = $before->diff($now); | |
| $intervalFromConstruct= new \DateInterval("P2D"); | |
| $intervalFromString= \DateInterval::createFromDateString("2 days"); | |
| echo "\n a:".$intervalFromString->format("%a"); | |
| echo "\n a:".$intervalFromDiff->format("%a"); | |
| echo "\n a:".$intervalFromConstruct->format("%a"); |
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
| $aclProvider = $this->get('security.acl.provider'); | |
| $firstAce = current($aclProvider->findAcl(ObjectIdentity::fromDomainObject($entity))->getObjectAces()); | |
| $username = $firstAce->getSecurityIdentity()->getUsername(); |
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 | |
| class ServiceContainerFactory { | |
| private static $instances = array(); | |
| private static $coreSiteId = null; | |
| /** | |
| * Site id po raz pierwszy użyty implikuje późniejszy domyślny siteId | |
| * @param int $siteId |
NewerOlder