view/twigstemplates/Entity/Menus.php
public function setTarget($target = self::ODMENUTARGET_SELF)
    {
        $targets    = $this->getTargetConstants();
        $target     = (string) $target;
        if (!in_array($target, $targets)) { $target = self::ODMENUTARGET_SELF; }

        $this->target = $target;

        return $this;
    }
public function setTarget($target = self::ODMENUTARGET_SELF)
    {
        $targets    = $this->getTargetConstants();
        $target     = (string) $target;
        if (!in_array($target, $targets)) { $target = self::ODMENUTARGET_SELF; }

        $this->target = $target;

        return $this;
    }
public function setTarget ( $ target = self :: ODMENUTARGET_SELF ) { $ targets = $ this -> getTargetConstants ( ) ; $ target = ( string ) $ target ; if ( ! in_array ( $ target , $ targets ) ) { $ target = self :: ODMENUTARGET_SELF ; } $ this -> target = $ target ; return $ this ; }
Set target.

@param string $ord

@return Menus
Set target .