ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Kohana 2.​x Snippets

by golf3gtiii ALL

Kohana v 2.3.4, Keyboard shortcut for sublime text 2

Labels snippets

Details

  • 2013.03.11.08.11.47
  • github.​com
  • github.​com
  • 12 years ago
  • 32 minutes ago
  • 11 years ago

Installs

  • Total 273
  • Win 147
  • Mac 75
  • Linux 51
Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Kohana234-sublimeText2-plugin

Kohana v 2.3.4, Keyboard shortcuts for sublime text 2

Usage

Enter shortcut and press enter or tabulate.

shortcut :

description

kohana

kconf :

Kohana::config('')

klang :

Kohana::lang('')

ORM

korm :

ORM::factory('')

kmodel :

defined('SYSPATH') OR die('No direct access allowed.');

    class _Model extends ORM {

    }

sessions

ktsg :

$this->session->get('')

ktss :

$this->session->set('', )

kflash :

$this->session->set_flash()

url shortcuts

kbase :

url::base()

kcurrent :

url::current()

kredirect :

url::redirect()

Others

krender :

$this->auto_render = false

ktc :

$this->template->content

mail

kswift :

$swift = email::connect();
    $from = '';

    $subject = '';
    $message = '';

    $recipients = new Swift_RecipientList;
    $recipients->addTo('');
    $message = new Swift_Message($subject, $message, "text/html");
    $swift->send($message, $recipients, $from);
    $swift->disconnect();

Database

kquery :

$db = new database('');
    $query = "";
    $results = $db->query($query);