Welcome Guest, Not a member yet? Register   Sign In
meta() function not documented.
#1

[eluser]DooBie[/eluser]
Hi all, I have seen in html_helper that there is a new feature that is not documented, but it is very useful, at least for me, the function is this:
Code:
// ------------------------------------------------------------------------

/**
* Generates meta tags from an array of key/values
*
* @access    public
* @param    array
* @return    string
*/
if ( ! function_exists('meta'))
{
    function meta($meta = array(), $newline = "\n")
    {
        $str = '';
        foreach ($meta as $key => $val)
        {
            $str .= '<meta http-equiv="'.$key.'" content="'.$val.'" />'.$newline;
        }

        return $str;
    }
}
Why not come out in the documentation?

Thanks, and sorry my poor english


Messages In This Thread
meta() function not documented. - by El Forum - 10-21-2008, 06:03 AM
meta() function not documented. - by El Forum - 10-21-2008, 06:55 AM
meta() function not documented. - by El Forum - 10-21-2008, 07:23 AM
meta() function not documented. - by El Forum - 10-24-2008, 05:15 AM
meta() function not documented. - by El Forum - 10-24-2008, 05:31 AM



Theme © iAndrew 2016 - Forum software by © MyBB