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 | |
| /** | |
| * BaseChannel | |
| * | |
| * This class has been auto-generated by the Doctrine ORM Framework | |
| * | |
| * @property string $feed_url | |
| * @property string $title | |
| * @property string $link |
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 Car | |
| { | |
| protected function checkOilLevel() | |
| { | |
| echo 'oil level checked'; | |
| } | |
| public function thisWorks() |
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 sfValidatorBlacklist extends sfValidatorBase | |
| { | |
| protected function configure($options = array(), $messages = array()) | |
| { | |
| $this->addMessage('invalid', 'This value is invalid'); | |
| $this->addOption('blacklist'); | |
| } |
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 userActions extends sfActions | |
| { | |
| public function executeCheckUsername(sfWebRequest $request) | |
| { | |
| $username = $request->getParameter('username'); | |
| $availability = (bool) Doctrine_Core::getTable('User')->checkUsername($username); | |
| return $this->renderText(json_encode($availability); |
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
| ash@parangon:~/tmp$ ls -la template/hooks/post-checkout | |
| -rwxr-xr-x 1 ash ash 21 2010-01-26 19:28 template/hooks/post-checkout | |
| ash@parangon:~/tmp$ cat template/hooks/post-checkout | |
| #!/bin/sh | |
| echo 'foo' | |
| ash@parangon:~/tmp$ git clone git@gamma.riskle.com:hooks.git --template=template/ | |
| Initialized empty Git repository in /home/ash/tmp/hooks/.git/ | |
| remote: Counting objects: 3, done. | |
| remote: Total 3 (delta 0), reused 0 (delta 0) | |
| Receiving objects: 100% (3/3), done. |
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
| $('input[id=perso]').change(function(e) { | |
| var pro = $('#landing-form-pro'); | |
| e.checked ? pro.hide() : pro.show(); | |
| }); |
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 CarSport extends Car | |
| { | |
| public function getMaxSpeed() | |
| { | |
| return 230; | |
| } | |
| } |
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 Application\SpringbokBundle; | |
| use Symfony\Foundation\Bundle\Bundle as BaseBundle; | |
| class Bundle extends BaseBundle | |
| { | |
| public function boot(ContainerInterface $container) | |
| { |
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 | |
| /** | |
| * @method Ticket getByUsername(string $username) Returns a user | |
| */ | |
| class UserService extends BaseService | |
| { | |
| } |