ZendDbSchema
Schema management for Zend Framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Pages
Directory.php
1
<?php
29
class
ZendDbSchema_Tool_Project_Context_Migration_Directory
30
extends
Zend_Tool_Project_Context_Filesystem_Directory
31
{
35
protected
$_filesystemName =
'migrations'
;
36
40
protected
$_version;
41
47
public
function
getName
()
48
{
49
return
'MigrationsDirectory'
;
50
}
51
57
public
function
init
()
58
{
59
$this->_version = $this->_resource->getAttribute(
'version'
);
60
parent::init
();
61
return
$this;
62
}
63
69
public
function
getPersistentAttributes
()
70
{
71
return
array(
72
'version'
=> $this->
getVersion
()
73
);
74
}
75
82
public
function
setVersion
($version)
83
{
84
$this->_version = $version;
85
return
$this;
86
}
87
93
public
function
getVersion
()
94
{
95
return
$this->_version;
96
}
97
}
Tool
Project
Context
Migration
Directory.php
Generated on Fri May 25 2012 13:46:45 for ZendDbSchema by
1.8.1