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