<?xml version="1.0" encoding="UTF-8"?> <snippets language="PHP"> <snippet id="class"> <text><![CDATA[class ${1:ClassName}${2: extends AnotherClass} { function __construct(${3:argument}) { $0 } }]]></text> <description>class ..</description> <tag>class</tag> </snippet> <snippet id="$"> <text><![CDATA[\$_COOKIE['${1:variable}']]]></text> <description>COOKIE['..']</description> <tag>$</tag> </snippet> <snippet id="do"> <text><![CDATA[do { $0 } while (${1:$a <= 10});]]></text> <description>do .. while ..</description> <tag>do</tag> </snippet> <snippet id="elseif"> <text><![CDATA[elseif (${1:condition}) { $0 }]]></text> <description>elseif ..</description> <tag>elseif</tag> </snippet> <snippet id="else"> <text><![CDATA[else { $0 }]]></text> <description>else ..</description> <tag>else</tag> </snippet> <snippet id="$-1"> <text><![CDATA[\$_ENV['${1:variable}']]]></text> <description>ENV['..']</description> <tag>$</tag> </snippet> <snippet id="$-2"> <text><![CDATA[\$_FILES['${1:variable}']]]></text> <description>FILES['..']</description> <tag>$</tag> </snippet> <snippet id="foreach"> <text><![CDATA[foreach ($${1:variable} as $${2:key} => $${3:value}) { $0 }]]></text> <description>foreach ..</description> <tag>foreach</tag> </snippet> <snippet id="for"> <text><![CDATA[for ($${1:i} = ${2:0}; $${1:i} < $3; $${1:i}++) { $0 }]]></text> <description>for ..</description> <tag>for</tag> </snippet> <snippet id="function"> <text><![CDATA[${1:public }function ${2:FunctionName}($3) { ${0:# code...} }]]></text> <description>function ..</description> <tag>function</tag> </snippet> <snippet id="$-3"> <text><![CDATA[\$_GET['${1:variable}']]]></text> <description>GET['..']</description> <tag>$</tag> </snippet> <snippet id="globals"> <text><![CDATA[\$GLOBALS['${1:variable}']${2: =} ${3:something} ${4:;}]]></text> <description>$GLOBALS['..']</description> <tag>globals</tag> </snippet> <snippet id="if?"> <text><![CDATA[$${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};]]></text> <description>$.. =</description> <tag>iff</tag> </snippet> <snippet id="ifelse"> <text><![CDATA[if (${1:condition}) { ${2} } else { ${3} } $0]]></text> <description>if .. else ..</description> <tag>ifelse</tag> </snippet> <snippet id="if"> <text><![CDATA[if (${1:condition}) { $0 }]]></text> <description>if ..</description> <tag>if</tag> </snippet> <snippet id="incl1"> <text><![CDATA[include_once('${1:file}');$0]]></text> <description>include_once</description> <tag>inclo</tag> </snippet> <snippet id="incl"> <text><![CDATA[include('${1:file}');$0]]></text> <description>include</description> <tag>incl</tag> </snippet> <snippet id="array"> <text><![CDATA[$${1:arrayName} = array('$2'${3:,});]]></text> <description>$.. = array</description> <tag>array</tag> </snippet> <snippet id="php"> <text><![CDATA[<?php $0 ?>]]></text> <description><?php .. ?></description> <tag>php</tag> </snippet> <snippet id="$-4"> <text><![CDATA[\$_POST['${1:variable}']]]></text> <description>POST['..']</description> <tag>$</tag> </snippet> <snippet id="print"> <text><![CDATA[print "${1:string}"${2: . };]]></text> <description>print ".."</description> <tag>print</tag> </snippet> <snippet id="$-5"> <text><![CDATA[\$_REQUEST['${1:variable}']]]></text> <description>REQUEST['..']</description> <tag>$</tag> </snippet> <snippet id="req1"> <text><![CDATA[require_once('${1:file}');]]></text> <description>require_once</description> <tag>reqo</tag> </snippet> <snippet id="req"> <text><![CDATA[require('${1:file}');]]></text> <description>require</description> <tag>req</tag> </snippet> <snippet id="$-6"> <text><![CDATA[\$_SERVER['${1:variable}']]]></text> <description>SERVER['..']</description> <tag>$</tag> </snippet> <snippet id="$-7"> <text><![CDATA[\$_SESSION['${1:variable}']]]></text> <description>SESSION['..']</description> <tag>$</tag> </snippet> <snippet id="case"> <text><![CDATA[case '${1:variable}': $0 break;]]></text> <description>case ..</description> <tag>case</tag> </snippet> <snippet id="switch"> <text><![CDATA[switch (${1:variable}) { case '${2:value}': ${3} break; $0 default: ${4} break; }]]></text> <description>switch ..</description> <tag>switch</tag> </snippet> <snippet id="while"> <text><![CDATA[while (${1:$a <= 10}) { $0 }]]></text> <description>while ..</description> <tag>while</tag> </snippet> </snippets>
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
lang | Folder | 0755 |
|
|
ui | Folder | 0755 |
|
|
c.xml | File | 7.19 KB | 0644 |
|
chdr.xml | File | 6.8 KB | 0644 |
|
cpp.xml | File | 4.93 KB | 0644 |
|
css.xml | File | 17.52 KB | 0644 |
|
docbook.xml | File | 73.45 KB | 0644 |
|
fortran.xml | File | 4.09 KB | 0644 |
|
global.xml | File | 51 B | 0644 |
|
haskell.xml | File | 367 B | 0644 |
|
html.xml | File | 7.68 KB | 0644 |
|
idl.xml | File | 992 B | 0644 |
|
java.xml | File | 1.9 KB | 0644 |
|
javascript.xml | File | 255 B | 0644 |
|
latex.xml | File | 1.1 KB | 0644 |
|
mallard.xml | File | 7.94 KB | 0644 |
|
markdown.xml | File | 2.29 KB | 0644 |
|
perl.xml | File | 2.88 KB | 0644 |
|
php.xml | File | 4.79 KB | 0644 |
|
python.xml | File | 2.79 KB | 0644 |
|
rpmspec.xml | File | 625 B | 0644 |
|
ruby.xml | File | 4.33 KB | 0644 |
|
sh.xml | File | 1.01 KB | 0644 |
|
snippets.xml | File | 3.51 KB | 0644 |
|
tcl.xml | File | 1.08 KB | 0644 |
|
xml.xml | File | 690 B | 0644 |
|
xslt.xml | File | 3.5 KB | 0644 |
|