Permalink
Browse files

input class

  • Loading branch information...
1 parent ec242ae commit 63cd602d90549fe111e48f111640bcd3a66837d9 @mpmont committed Aug 8, 2012
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->cookie()('${1:name}');
+]]></content>
+ <tabTrigger>_cookie</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->get('${1:name}');
+]]></content>
+ <tabTrigger>_get</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->get_post()('${1:name}');
+]]></content>
+ <tabTrigger>_get_post</tabTrigger>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->get_request_header();
+]]></content>
+ <tabTrigger>get_request_header</tabTrigger>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->ip_address();
+]]></content>
+ <tabTrigger>ip_address</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->is_ajax_request()
+]]></content>
+ <tabTrigger>is_ajax</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->is_cli_request()
+]]></content>
+ <tabTrigger>is_cli</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->post('${1:name}');
+]]></content>
+ <tabTrigger>_post</tabTrigger>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->request_headers()
+]]></content>
+ <tabTrigger>request_headers</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->server('${1:name}');
+]]></content>
+ <tabTrigger>_server</tabTrigger>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->set_cookie('${1:name}', '${2:value}', '${3:expire}', '${4:domain}', '${5:path}','${6:prefix}', '${7:secure}');
+]]></content>
+ <tabTrigger>set_cookie</tabTrigger>
+</snippet>
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->user_agent()
+]]></content>
+ <tabTrigger>user_agent</tabTrigger>
+</snippet>
View
@@ -0,0 +1,6 @@
+<snippet>
+ <content><![CDATA[
+\$this->input->valid_ip('${1:ip}')
+]]></content>
+ <tabTrigger>valid_ip</tabTrigger>
+</snippet>

0 comments on commit 63cd602

Please sign in to comment.