#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
#Create bitbucket branch
##Create local branch
$ git checkout -b sync
Switched to a new branch 'sync'
$ git branch
master
* sync
| /** | |
| * jQuery alterClass plugin | |
| * | |
| * Remove element classes with wildcard matching. Optionally add classes: | |
| * $( '#foo' ).alterClass( 'foo-* bar-*', 'foobar' ) | |
| * | |
| * Copyright (c) 2011 Pete Boere (the-echoplex.net) | |
| * Free under terms of the MIT license: http://www.opensource.org/licenses/mit-license.php | |
| * | |
| */ |
| <?php | |
| function searchCriteria($criteria){ | |
| $cleanCritera = array(); | |
| foreach($criteria as $key => $value){ | |
| if( isset( $this->_class->fieldNames[$key] ) && !empty($value) ){ | |
| $cleanCritera[$key] = $value; | |
| } | |
| } | |
| if(empty($cleanCritera)){ |
| <?php | |
| use Symfony\Component\HttpFoundation\File\File; | |
| use Symfony\Component\HttpFoundation\File\UploadedFile; | |
| /** | |
| * @Entity | |
| */ | |
| class Document | |
| { |
| <?php | |
| namespace My\Custom\Doctrine2\Function; | |
| /** | |
| * RandFunction ::= "RAND" "(" ")" | |
| */ | |
| class Rand extends FunctionNode | |
| { | |
| public function parse(\Doctrine\ORM\Query\Parser $parser) |