Coder Social home page Coder Social logo

Foreign return type syntax about phd HOT 3 CLOSED

jjok avatar jjok commented on July 17, 2024
Foreign return type syntax

from phd.

Comments (3)

salathe avatar salathe commented on July 17, 2024

Please use the bug tracking system at bugs.php.net for PhD bugs and feature requests.

Head on over to the bug report page (bugs.php.net/report.php) to do that. When doing so, please set the "Package affected" field to "Doc Build (PhD) problem", and the "Bug Type" field to "Feature/Change Request".

Many thanks.

from phd.

jjok avatar jjok commented on July 17, 2024

I've been having a look into this. I think a few changes will need to be made to make this happen.

  1. I think a new returntype needs to be added in the formatter classes in this package. eg Package_Generic_XHTML. I don't think type can be reused as it is used anywhere a type is mentioned in the docs, not just return types, and the return type needs to be formatted differently. eg sprintf(' : <span>%s</span>')

  2. I think the docbook schema in the phpdoc repository needs to be updated to allow a new returntype element.

  <methodsynopsis>
   <methodname>json_decode</methodname>
   <methodparam><type>string</type><parameter>json</parameter></methodparam>
   <methodparam choice="opt"><type>bool</type><parameter>assoc</parameter><initializer>false</initializer></methodparam>
   <methodparam choice="opt"><type>int</type><parameter>depth</parameter><initializer>512</initializer></methodparam>
   <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
   <returntype>mixed</returntype>
  </methodsynopsis>
  1. All the existing documentation needs to be updated to the new format. :O

Let me know if I'm on the right tracks. Thanks.

from phd.

jjok avatar jjok commented on July 17, 2024

Ahh. Yep, will do.

from phd.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.