mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated all plugins that are non-forked. Added some new plugins.
Added update_plugins.py which can fetch new plugins from GitHub. New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
This commit is contained in:
32
sources_non_forked/snipmate-snippets/zend/model.snippet
Normal file
32
sources_non_forked/snipmate-snippets/zend/model.snippet
Normal file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
class ${1:Model} extends Doctrine_Record implements Zend_Auth_Adapter_Interface, Zend_Acl_Role_Interface
|
||||
{
|
||||
protected $searchconditions = array();
|
||||
|
||||
/**
|
||||
* Enter description here...
|
||||
*
|
||||
* @var ${2:Model}
|
||||
*/
|
||||
protected static $_identity = null;
|
||||
|
||||
/**
|
||||
* Zend_Auth
|
||||
*
|
||||
* @var Zend_Auth
|
||||
*/
|
||||
protected static $_auth;
|
||||
|
||||
|
||||
/**
|
||||
* Doctrine
|
||||
*/
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->hasColumn('id', 'integer', 4, array('notnull' => true,
|
||||
'primary' => true,
|
||||
'autoincrement' => true));
|
||||
${3}
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user