public static function formToken()
    {
        // <input type="hidden" name="xsrf" value=" . self::getToken() . " />
        $obj = new XMLElement("input");
        $obj->setAttribute("type", "hidden");
        $obj->setAttribute("name", "xsrf");
        $obj->setAttribute("value", self::getToken());
        return $obj;
    }
public static function formToken()
    {
        // <input type="hidden" name="xsrf" value=" . self::getToken() . " />
        $obj = new XMLElement("input");
        $obj->setAttribute("type", "hidden");
        $obj->setAttribute("name", "xsrf");
        $obj->setAttribute("value", self::getToken());
        return $obj;
    }
public static function formToken ( ) { // <input type="hidden" name="xsrf" value=" . self::getToken() . " /> $ obj = new XMLElement ( "input" ) ; $ obj -> setAttribute ( "type" , "hidden" ) ; $ obj -> setAttribute ( "name" , "xsrf" ) ; $ obj -> setAttribute ( "value" , self :: getToken ( ) ) ; return $ obj ; }
Creates the form input to use to house the token

@return XMLElement
Creates the form input to use to house the token