fix [ 1304940 ] Incorrect Spelling of Instantiate

This commit is contained in:
Wouter van Oijen 2005-09-26 21:00:44 +00:00
parent d89b8f1794
commit 6be547e55a
9 changed files with 12 additions and 12 deletions

View file

@ -1203,8 +1203,8 @@ sub processTemplate {
if (defined $template) {
return $template->process(\%vars);
} else {
WebGUI::ErrorHandler::error("Can't instanciate template $templateId for asset ".$self->getId);
return "Error: Can't instanciate template ".$templateId;
WebGUI::ErrorHandler::error("Can't instantiate template $templateId for asset ".$self->getId);
return "Error: Can't instantiate template ".$templateId;
}
}
@ -1224,7 +1224,7 @@ sub publish {
WebGUI::SQL->write("update asset set state='published', stateChangedBy=".quote($session{user}{userId}).", stateChanged=".time()." where assetId in (".$idList.")");
my $cache = WebGUI::Cache->new;
foreach my $id (@{$assetIds}) {
# we do the purge directly cuz it's a lot faster than instanciating all these assets
# we do the purge directly cuz it's a lot faster than instantiating all these assets
$cache->deleteChunk(["asset",$id]);
}
$self->{_properties}{state} = "published";

View file

@ -98,7 +98,7 @@ sub cascadeLineage {
while (my ($assetId, $lineage) = $descendants->array) {
my $fixedLineage = $newLineage.substr($lineage,length($oldLineage));
$prepared->execute([$fixedLineage,$assetId]);
# we do the purge directly cuz it's a lot faster than instanciating all these assets
# we do the purge directly cuz it's a lot faster than instantiating all these assets
$cache->deleteChunk(["asset",$assetId]);
}
$descendants->finish;

View file

@ -42,7 +42,7 @@ method if your plugin can handle recurring payments.
A hashref containing:
id => the gateway ID of the transaction,
transaction => the instanciated WebGUI::Commerce::Transaction object
transaction => the instantiated WebGUI::Commerce::Transaction object
=cut
@ -167,7 +167,7 @@ sub get {
=head2 getEnabledPlugins
Returns a reference to an array of all enabled instanciated payment plugins.
Returns a reference to an array of all enabled instantiated payment plugins.
=cut

View file

@ -128,7 +128,7 @@ sub getShippingItems {
=head2 getEnabledPlugins
Returns a reference to an array of all enabled instanciated payment plugins.
Returns a reference to an array of all enabled instantiated payment plugins.
=cut

View file

@ -199,7 +199,7 @@ The total price of this item. Ie. totalPrice = quantity * price.
=head3 item
The instanciated plugin of this item. See WebGUI::Commerce::Item for a detailed API.
The instantiated plugin of this item. See WebGUI::Commerce::Item for a detailed API.
=cut

View file

@ -25,7 +25,7 @@ Package WebGUI::FormProcessor;
=head1 DESCRIPTION
This is a convenience package to the individual form controls. It allows you to get the form post results back without having to load each form control seperately, instanciate an object, and call methods.
This is a convenience package to the individual form controls. It allows you to get the form post results back without having to load each form control seperately, instantiate an object, and call methods.
=head1 SYNOPSIS

View file

@ -377,7 +377,7 @@ An alternative to the constructor "new", use find as a constructor by name rathe
=head3 name
The name of the group you wish to instanciate.
The name of the group you wish to instantiate.
=cut

View file

@ -44,7 +44,7 @@ sub getInstance {
eval($load);
WebGUI::ErrorHandler::fatal("Authentication module failed to compile: $cmd.".$@) if($@);
my $auth = eval{$cmd->new($authMethod,$userId)};
WebGUI::ErrorHandler::fatal("Couldn't instanciate authentication module: $authMethod. Root cause: ".$@) if($@);
WebGUI::ErrorHandler::fatal("Couldn't instantiate authentication module: $authMethod. Root cause: ".$@) if($@);
return $auth;
}

View file

@ -148,7 +148,7 @@ sub process {
if (defined $style) {
$output = $style->process(\%var);
} else {
$output = "WebGUI was unable to instanciate your style template.".$var{'body.content'};
$output = "WebGUI was unable to instantiate your style template.".$var{'body.content'};
}
$output = WebGUI::Macro::process($output);
my $macroHeadTags = generateAdditionalHeadTags();