Properties |
protected PHPFUI\InstaDoc\Controller PHPFUI\InstaDoc\Section::$controller |
protected phpDocumentor\Reflection\DocBlockFactory PHPFUI\InstaDoc\Section\CodeCommon::$factory |
protected PHPFUI\InstaDoc\MarkDownParser PHPFUI\InstaDoc\Section\CodeCommon::$parsedown |
protected PHPFUI\InstaDoc\Section\CodeCommon::$reflection = NULL - var \ReflectionClass<object> | \ReflectionEnum | \ReflectionFunction
|
Methods |
protected PHPFUI\InstaDoc\Section\CodeCommon::formatAttribute(ReflectionAttribute $attribute) : string - param \ReflectionAttribute<object> $attribute
|
protected PHPFUI\InstaDoc\Section\CodeCommon::formatComments(?phpDocumentor\Reflection\DocBlock $docBlock, ReflectionMethod|ReflectionClass|?null $reflection = NULL) : string Format comments without indentation - template T of \ReflectionClass
- param \ReflectionMethod | \ReflectionClass<T> | null $reflection if \ReflectionClass, then grab the comments from the class header
|
protected getAccess(ReflectionProperty|ReflectionClassConstant $constant) : string - return string the color coded access level (public, private, protected)
|
protected PHPFUI\InstaDoc\Section\CodeCommon::getAttributes(?object $reflection) : array - return array<int,\ReflectionAttribute<object>>
|
protected PHPFUI\InstaDoc\Section\CodeCommon::getClassName(object|string $class, bool $asLink = true) : string |
protected PHPFUI\InstaDoc\Section\CodeCommon::getColor(string $class, string $name) : string Add a color to a thing by class |
protected PHPFUI\InstaDoc\Section\CodeCommon::getComments(?phpDocumentor\Reflection\DocBlock $docBlock, ?ReflectionMethod $reflection = NULL) : string |
protected getConstant(ReflectionClassConstant $constant, string $name, ?mixed $value) : string |
protected getContent(string $accessType) : PHPFUI\Table |
protected PHPFUI\InstaDoc\Section\CodeCommon::getDocBlock(object $method) : ?phpDocumentor\Reflection\DocBlock |
protected PHPFUI\InstaDoc\Section\CodeCommon::getHtmlClass(string $class) : string Convert php class name to html class name (\ => -) |
protected PHPFUI\InstaDoc\Section\CodeCommon::getInheritedDocBlock(array $tags, ReflectionMethod|ReflectionClass|?null $reflection) : array - param array<int,\phpDocumentor\Reflection\DocBlock\Tag> $tags
- template T of \ReflectionClass
- param \ReflectionMethod | \ReflectionClass<T> | null $reflection if \ReflectionClass, then grab the comments from the class header
- return array<int,\phpDocumentor\Reflection\DocBlock\Tag>
|
protected PHPFUI\InstaDoc\Section\CodeCommon::getInheritedText(phpDocumentor\Reflection\DocBlock $docBlock, ReflectionMethod|ReflectionClass|?null $reflection = NULL, string $textType = 'getDescription') : string - template T of \ReflectionClass
- param \ReflectionMethod | \ReflectionClass<T> | null $reflection if \ReflectionClass, then grab the comments from the class header
|
protected getMethod(ReflectionMethod $method) : string |
protected PHPFUI\InstaDoc\Section\CodeCommon::getMethodParametersBlock(ReflectionFunction|ReflectionMethod $method) : string |
protected getName(ReflectionClassConstant|ReflectionMethod|ReflectionProperty $method, string $name, bool $fullyQualify = false) : string |
protected getNameScope(ReflectionProperty|ReflectionMethod|ReflectionClassConstant $method, bool $fullyQualify = false) : string |
protected PHPFUI\InstaDoc\Section\CodeCommon::getParameterComments(?phpDocumentor\Reflection\DocBlock $docBlock) : array - return array<string,string>
|
protected getProperty(ReflectionProperty $property, ReflectionClass $class) : string |
protected getRowClasses(ReflectionClassConstant|ReflectionMethod|ReflectionProperty $method) : string |
protected objectCompare(object $lhs, object $rhs) : int |
protected objectSort(array $objects) : void - param object[] $objects to sort
|
protected PHPFUI\InstaDoc\Section\CodeCommon::section(string $name) : string |