refactoring classi media per interfacciamento col dao creata classe htmlhelper per utility html
17 lines
268 B
PHP
17 lines
268 B
PHP
<?php
|
|
|
|
interface MediaInterface{
|
|
|
|
public function asText();
|
|
|
|
public function renderMedia();
|
|
|
|
public function getType();
|
|
|
|
public function setOwnerReference(HasMediaInterface $model);
|
|
public function getOwnerReference();
|
|
|
|
public function getReference();
|
|
|
|
}
|
|
?>
|