/**
 * 
 * @param string $temp name of file
 * @param string  $content the new content of template
 * @return boolean
 */
function saveTemplates($temp = '', $content = '')
{
    if ($temp && $content) {
        // create object from Template class
        $tepmlate = new Template();
        // call createOrUpdate method
        // this method on (ns/classes/Template)
        $tepmlate->createOrUpdate($temp, $content);
        return true;
    }
    return false;
}