repo.or.cz
/
akelos.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding tests for securing private variable inclussion on templates.
[akelos.git]
/
test
/
fixtures
/
app
/
installers
/
picture_installer.php
blob
688342d2aeea24ad79bd84f7e3db6855de97a164
1
<
?php
2
3
class
PictureInstaller
extends
AkInstaller
4
{
5
function
install
()
6
{
7
$this
->
createTable
(
'pictures'
,
'
8
id integer max=10 auto increment primary,
9
property_id,
10
title string limit=200'
11
);
12
}
13
14
function
uninstall
()
15
{
16
$this
->
dropTable
(
'pictures'
,
array
(
'sequence'
=>
true
));
17
}
18
}
19
20
?
>