Merge pull request #670 from komputerwiz/master

Use snipMate syntax
This commit is contained in:
Louis Pilfold 2016-01-11 16:32:42 +00:00
commit 4d15c0a30d

View File

@ -605,33 +605,25 @@ snippet te
throw new ${1:Exception}("${2:Error Processing Request}");
snippet fpc "file_put_contents" b
file_put_contents(${1:file}, ${2:content}${3:, FILE_APPEND});$0
endsnippet
file_put_contents(${1:file}, ${2:content}${3:, FILE_APPEND});$0
snippet sr "str_replace"
str_replace(${1:search}, ${2:replace}, ${3:subject})$0
endsnippet
str_replace(${1:search}, ${2:replace}, ${3:subject})$0
snippet ia "in_array"
in_array(${1:needle}, ${2:haystack})$0
endsnippet
in_array(${1:needle}, ${2:haystack})$0
snippet is "isset"
isset(${1:var})$0
endsnippet
isset(${1:var})$0
snippet isa "isset array"
isset($${1:array}[${2:key}])$0
endsnippet
isset($${1:array}[${2:key}])$0
snippet in "is_null"
is_null($${1:var})$0
endsnippet
is_null($${1:var})$0
snippet fe "file_exists"
file_exists(${1:file})$0
endsnippet
file_exists(${1:file})$0
snippet id "is_dir"
is_dir(${1:path})$0
endsnippet
is_dir(${1:path})$0