You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
419 B
PHTML
25 lines
419 B
PHTML
4 years ago
|
<?php
|
||
|
|
||
|
namespace Artmark\Forms;
|
||
|
|
||
|
use Artmark\Forms\Attributes\IdAttribute;
|
||
|
|
||
|
/**
|
||
|
* Description of AbstractHtml
|
||
|
*
|
||
|
* @author Andrey Pokidov <pokidov@e-traffic.ru>
|
||
|
*/
|
||
|
abstract class AbstractHtml implements Html
|
||
|
{
|
||
|
use IdAttribute;
|
||
|
|
||
|
public function getAssociativeAttributes()
|
||
|
{
|
||
|
$attributes = [];
|
||
|
|
||
|
$this->appendIdAttribute($attributes);
|
||
|
|
||
|
return $attributes;
|
||
|
}
|
||
|
}
|