/** * Adds a template to be exported * * @param id * template ID * @result false when no such ID exists */ function addTemplate($id) { if (!TEMPLATE::existsID($id)) { return 0; } $this->templates[$id] = TEMPLATE::getNameFromId($id); return 1; }
/** * Adds a template to be exported * * @param id * template ID * @result false when no such ID exists */ function addTemplate($id) { if (!TEMPLATE::existsID($id)) { return 0; } $this->templates[$id] = TEMPLATE::getNameFromId($id); return 1; }