Skip to content

Commit

Permalink
Dev: removed the word "function" from doc
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jun 28, 2017
1 parent 2dd224d commit 78b42f8
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions application/models/TemplateConfiguration.php
Expand Up @@ -121,7 +121,7 @@ public function getApiVersion()
}

/**
* This function returns the complete URL path to a given template name
* Returns the complete URL path to a given template name
*
* @param string $sTemplateName
* @return string template url
Expand Down Expand Up @@ -604,20 +604,6 @@ private function getFrameworkPackages($oTemplate, $dir="")
return array();
}

private function getTemplateForFile($sFile, $oRTemplate)
{
while (!file_exists($oRTemplate->path.'/'.$sFile) && !file_exists($oRTemplate->viewPath.$sFile)){
$oMotherTemplate = $oRTemplate->oMotherTemplate;
if(!($oMotherTemplate instanceof TemplateConfiguration)){
return false;
break;
}
$oRTemplate = $oMotherTemplate;
}

return $oRTemplate;
}

/**
* Get the file path for a given template.
* It will check if css/js (relative to path), or view (view path)
Expand Down

0 comments on commit 78b42f8

Please sign in to comment.