Version 5.0.0 beta 1
This commit is contained in:
1 parent
25ddeb65d6
commit
15c7beabc5
6736 files changed
+627902
-497943
No files matched your search
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace IPS\Helpers\Menu;
|
||||
|
||||
|
||||
use IPS\Theme;
|
||||
|
||||
class TitleField extends MenuItem
|
||||
{
|
||||
/**
|
||||
* Sets the title
|
||||
*
|
||||
* @param string $title
|
||||
*/
|
||||
public function __construct( string $title )
|
||||
{
|
||||
$this->title = $title;
|
||||
}
|
||||
|
||||
public function __toString(): string
|
||||
{
|
||||
return Theme::i()->getTemplate( 'menu', 'core', 'front' )->titleField( $this );
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user