/** * Sorts functions by FQN. * * @param \ApiGen\Reflection\ReflectionFunction $one * @param \ApiGen\Reflection\ReflectionFunction $two * @return integer */ private function sortFunctions(Reflection\ReflectionFunction $one, Reflection\ReflectionFunction $two) { return strcasecmp($one->getNamespaceName() . '\\' . $one->getName(), $two->getNamespaceName() . '\\' . $two->getName()); }
/** * Returns a link to function summary file. * * @param \ApiGen\Reflection\ReflectionFunction $function Function reflection * @return string */ public function getFunctionUrl(Reflection\ReflectionFunction $function) { return sprintf($this->config->template->templates->main->function->filename, $this->urlize($function->getName())); }
/** * @return string */ private function getFunctionFqnName(ReflectionFunction $reflection) { return $reflection->getNamespaceName() . '\\' . $reflection->getName(); }
/** * @return string */ public function createForFunction(ReflectionFunction $function) { return sprintf($this->configuration->getOption(CO::TEMPLATE)['templates']['function']['filename'], Filters::urlize($function->getName())); }