1.0.5 • Published 7 years ago

gitbook-plugin-phpclassdisplayer v1.0.5

Weekly downloads
15
License
MIT
Repository
github
Last release
7 years ago

gitbook-plugin-phpclassdisplayer

Include detailed infos for PHP classes, methods, functions or constants to your GitBook. (for example when documenting a PHP Library)

HTML Preview

Example

Markdown from Preview:

{% PHPclassDisplayer "DateTime" %}
    Datetime class
{% endPHPclassDisplayer %}

{% PHPmethodDisplayer "setDate($year, $month, $day)" %}
    Set the date.
    {% param "$year", type="int" %}
    The year.
    {% param "$month", type="int" %}
    The month.
    {% param "$day", type="int" %}
    The day.
    {% return %}
    Either false on failure, or the datetime object for method chaining.
{% endPHPmethodDisplayer %}

{% PHPmethodDisplayer "setTime($hour, $minute[, $second])" %}
    Set the time.
    {% param "$hour", type="int" %}
    The hour.
    {% param "$minute", type="int" %}
    The minute.
    {% param "$second", type="int" %}
    The second.
    {% return %}
    Either false on failure, or the datetime object for method chaining.
{% endPHPmethodDisplayer %}

{% PHPconstDisplayer "ATOM" %}
    Y-m-dTH:i:sP
{% endPHPconstDisplayer %}
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3-pre

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

1.0.0-pre5

8 years ago

1.0.0-pre4

8 years ago

1.0.0-pre3

8 years ago

1.0.0-pre2

8 years ago

1.0.0-pre

8 years ago