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 | |
| $test = "dnes je vážně hezky"; | |
| echo $test; |
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 JMShop\CatalogBundle\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Gedmo\Mapping\Annotation as Gedmo; | |
| use Symfony\Component\HttpFoundation\File\File; | |
| use Symfony\Component\Validator\Constraints as Assert; | |
| use Vich\UploaderBundle\Mapping\Annotation as Vich; | |
| use JsonSerializable; |
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
| var ProductsViewModel = function() { | |
| var self = this; | |
| self.productsURI = ...; | |
| self.products = ko.observableArray(); | |
| self.limit = ko.observable(1); | |
| self.currentPage = ko.observable(1); | |
| self.pageCount = ko.observable(2); | |
| self.goPreviousPage = function() { | |
| self.load(self.currentPage() + 1, self.limit); |
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
| >>> titles http://seznam.cz/ | |
| >>> Seznam ÔÇô Najdu tam, co nezn├ím | |
| titles http://google.cz/ | |
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
| SELECT * | |
| FROM `users` | |
| WHERE (`id` = 1 AND `password` = '0ef448cad7c467dde57d54149ea4c2575b27bf58') | |
| SELECT * | |
| FROM `users` | |
| WHERE (`id` = 1) AND (`password` = '0ef448cad7c467dde57d54149ea4c2575b27bf58') |