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
Fixing content type ordering when content_type is not defined.
[akelos.git]
/
test
/
fixtures
/
app
/
models
/
test_auditor.php
blob
28a0f112324dc1e33a8d63306d51682301dc1a9b
1
<
?php
2
class
TestAuditor
extends
AkObserver
3
{
4
function
update
(
$state
)
5
{
6
switch
(
$state
)
7
{
8
case
"new person created"
:
9
echo
$state
;
10
break
;
11
default
:
12
break
;
13
}
14
}
15
16
function
afterCreate
(&
$record
)
17
{
18
$record
->
audited
=
true
;
19
}
20
21
}
22
?
>