printImage to superclass
This commit is contained in:
parent
6c7f997257
commit
863a7a453a
@ -127,4 +127,9 @@ abstract class Item
|
||||
$this->mfuvorot = $row['mfuvorot'];
|
||||
$this->mfauvorot = $row['mfauvorot'];
|
||||
}
|
||||
|
||||
public function printImage()
|
||||
{
|
||||
echo "<img src='/i/sh/{$this->img}'";
|
||||
}
|
||||
}
|
@ -47,8 +47,4 @@ class ItemClass extends Item
|
||||
echo "<br>";
|
||||
}
|
||||
|
||||
public function printImage()
|
||||
{
|
||||
echo "<img src='/i/sh/{$this->img}'";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user