FML/Stylesheet/Style3d.php
public function render(\DOMDocument $domDocument)
    {
        $style3dXml = $domDocument->createElement("style3d");
        $this->checkId();
        if ($this->styleId) {
            $style3dXml->setAttribute("id", $this->styleId);
        }
        if ($this->model) {
            $style3dXml->setAttribute("model", $this->model);
        }
        if ($this->thickness) {
            $style3dXml->setAttribute("thickness", $this->thickness);
        }
        if ($this->color) {
            $style3dXml->setAttribute("color", $this->color);
        }
        if ($this->focusColor) {
            $style3dXml->setAttribute("fcolor", $this->focusColor);
        }
        if ($this->lightColor) {
            $style3dXml->setAttribute("lightcolor", $this->lightColor);
        }
        if ($this->focusLightColor) {
            $style3dXml->setAttribute("flightcolor", $this->focusLightColor);
        }
        if ($this->yOffset) {
            $style3dXml->setAttribute("yoffset", $this->yOffset);
        }
        if ($this->focusYOffset) {
            $style3dXml->setAttribute("fyoffset", $this->focusYOffset);
        }
        if ($this->zOffset) {
            $style3dXml->setAttribute("zoffset", $this->zOffset);
        }
        if ($this->focusZOffset) {
            $style3dXml->setAttribute("fzoffset", $this->focusZOffset);
        }
        return $style3dXml;
    }
public function render(\DOMDocument $domDocument)
    {
        $style3dXml = $domDocument->createElement("style3d");
        $this->checkId();
        if ($this->styleId) {
            $style3dXml->setAttribute("id", $this->styleId);
        }
        if ($this->model) {
            $style3dXml->setAttribute("model", $this->model);
        }
        if ($this->thickness) {
            $style3dXml->setAttribute("thickness", $this->thickness);
        }
        if ($this->color) {
            $style3dXml->setAttribute("color", $this->color);
        }
        if ($this->focusColor) {
            $style3dXml->setAttribute("fcolor", $this->focusColor);
        }
        if ($this->lightColor) {
            $style3dXml->setAttribute("lightcolor", $this->lightColor);
        }
        if ($this->focusLightColor) {
            $style3dXml->setAttribute("flightcolor", $this->focusLightColor);
        }
        if ($this->yOffset) {
            $style3dXml->setAttribute("yoffset", $this->yOffset);
        }
        if ($this->focusYOffset) {
            $style3dXml->setAttribute("fyoffset", $this->focusYOffset);
        }
        if ($this->zOffset) {
            $style3dXml->setAttribute("zoffset", $this->zOffset);
        }
        if ($this->focusZOffset) {
            $style3dXml->setAttribute("fzoffset", $this->focusZOffset);
        }
        return $style3dXml;
    }
public function render ( \ DOMDocument $ domDocument ) { $ style3dXml = $ domDocument -> createElement ( "style3d" ) ; $ this -> checkId ( ) ; if ( $ this -> styleId ) { $ style3dXml -> setAttribute ( "id" , $ this -> styleId ) ; } if ( $ this -> model ) { $ style3dXml -> setAttribute ( "model" , $ this -> model ) ; } if ( $ this -> thickness ) { $ style3dXml -> setAttribute ( "thickness" , $ this -> thickness ) ; } if ( $ this -> color ) { $ style3dXml -> setAttribute ( "color" , $ this -> color ) ; } if ( $ this -> focusColor ) { $ style3dXml -> setAttribute ( "fcolor" , $ this -> focusColor ) ; } if ( $ this -> lightColor ) { $ style3dXml -> setAttribute ( "lightcolor" , $ this -> lightColor ) ; } if ( $ this -> focusLightColor ) { $ style3dXml -> setAttribute ( "flightcolor" , $ this -> focusLightColor ) ; } if ( $ this -> yOffset ) { $ style3dXml -> setAttribute ( "yoffset" , $ this -> yOffset ) ; } if ( $ this -> focusYOffset ) { $ style3dXml -> setAttribute ( "fyoffset" , $ this -> focusYOffset ) ; } if ( $ this -> zOffset ) { $ style3dXml -> setAttribute ( "zoffset" , $ this -> zOffset ) ; } if ( $ this -> focusZOffset ) { $ style3dXml -> setAttribute ( "fzoffset" , $ this -> focusZOffset ) ; } return $ style3dXml ; }
Render the Style3d

@param \DOMDocument $domDocument DOMDocument for which the Style3d should be rendered
@return \DOMElement
Render the Style3d