function _l10n_update_build_project in Localization update 7
Same name and namespace in other branches
- 6 l10n_update.inc \_l10n_update_build_project()
Build project data as an object.
Parameters
$name: Project name.
$version: Project version.
$server: Localisation server name.
$path: Localisation server URL.
Return value
object Project object containing the supplied data.
File
- ./
l10n_update.inc, line 173
Code
function _l10n_update_build_project($name, $version = NULL, $server = L10N_UPDATE_DEFAULT_SERVER, $path = L10N_UPDATE_DEFAULT_SERVER_URL) {
$project = new stdClass();
$project->name = $name;
$project->version = $version;
$project->l10n_server = $server;
$project->l10n_path = $path;
return $project;
}