ericbarnes (owner)

Revisions

gist: 224382 Download_button fork
public
Description:
cimodel TextMate Bundle
Public Clone URL: git://gist.github.com/224382.git
Embed All Files: show embed
cimodel TextMate Bundle #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env php
<?php
$name = $_ENV['TM_FILENAME'];
$class = str_replace('.php', '', $name);
$class = ucfirst($class);
$relative = str_replace($_ENV['TM_PROJECT_DIRECTORY'], '.', $_ENV['TM_FILEPATH']);
 
$out = <<<CORPUSCLE
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Software Name
*
* @package Project
* @author You
* @copyright Copyright (c) 2010, Your Company
* @link http://ericlbarnes.com
* @since Version 1.0
*/
 
// ------------------------------------------------------------------------
 
/**
* $class Controller
*
*
* @subpackage Models
* @version \$Revision: 77 \$
* @Updated: \$Date: 2009-10-30 13:30:18 -0400 (Fri, 30 Oct 2009) \$
*/
class $class extends Model
{
/**
* Constructor
*
* @return void
*/
function __construct()
{
parent::__construct();
log_message('debug', '$class Initialized');
}
// ------------------------------------------------------------------------
/**
* Method
*
*/
function ${0}()
{
${0}
}
 
}
/* End of file $name */
/* Location: $relative */
CORPUSCLE;
 
echo $out;
?>