public function addElement($blockType, array $element)
	{
        $this->blockType = $blockType;
		$this->label = $element["description"];
        $this->filter = $element["filter"];
		$this->type = 'element';
	}
public function addElement($blockType, array $element)
	{
        $this->blockType = $blockType;
		$this->label = $element["description"];
        $this->filter = $element["filter"];
		$this->type = 'element';
	}
public function addElement ( $ blockType , array $ element ) { $ this -> blockType = $ blockType ; $ this -> label = $ element [ "description" ] ; $ this -> filter = $ element [ "filter" ] ; $ this -> type = 'element' ; }
Adds a menu element

@param array $blockType
@param $element
Adds a menu element