mirror of
				https://github.com/amix/vimrc
				synced 2025-10-30 21:43:35 +08:00 
			
		
		
		
	 3f1cdba799
			
		
	
	3f1cdba799
	
	
	
		
			
			Added update_plugins.py which can fetch new plugins from GitHub. New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
		
			
				
	
	
		
			33 lines
		
	
	
		
			551 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			551 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| <?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}
 | |
| 	}
 | |
| 
 | |
| }
 |