Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Yii framework extension to submit pastes to

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 css
Octocat-spinner-32 js
Octocat-spinner-32 views
Octocat-spinner-32 CPastebinAction.php
Octocat-spinner-32 EPastebin.php
Octocat-spinner-32 README
Octocat-spinner-32 options.php
Version: 0.2
Author: Dimitrios Meggidis
Repository: [dmtrs/etbar](


A simple class to start with yii framework extensions. This extension
will render a pastebin submit form to your view.


First of all, you must register to [](
to get a developer key.


Add extension to the config file (config/main.php):


In controller add: 

    public function actions()
		return array(
In view add:

Minimal options:


    $this->widget('EPastebin', array(
        "loginKey"=>"Your developer key from"));

All available options:


    $this->widget('EPastebin', array(
        "loginKey"=>"Your developer key from",       
        // The view that contains the form under extension/EPastebin/views/
            "format"=>"php", //Default for format selection check options.php
            "expire"=>"10M"  //Default for expire seltion check options.php


- better messages to be returned
- create hide button on flash message
- css of flash message to overlay the other divs.
Something went wrong with that request. Please try again.