Magento API DocumentationExtending Magento REST Api with a custom module fails on routeAccess Pre-Authorized...

When can a QA tester start his job?

Use two 8s and two 3s to make the number 24

Why zero tolerance on nudity in space?

Does Skippy chunky peanut butter contain trans fat?

Quickly creating a sparse array

Why did the villain in the first Men in Black movie care about Earth's Cockroaches?

What is the wife of a henpecked husband called?

Why are the books in the Game of Thrones citadel library shelved spine inwards?

The use of the spellings -zz- vs. -z-

Why did Luke use his left hand to shoot?

Is a new Boolean field better than a null reference when a value can be meaningfully absent?

Can a hotel cancel a confirmed reservation?

Should I reinstall Linux when changing the laptop's CPU?

What's a good word to describe a public place that looks like it wouldn't be rough?

A Missing Symbol for This Logo

How do I append a character to the end of every line in an Excel cell?

Salesforce package error error “You can't specify version for namespace sf_com_apps because this namespace is not installed to your organization.”

How can I get my players to come to the game session after agreeing to a date?

SET NOCOUNT Error in handling SQL call after upgrade

Cookies - Should the toggles be on?

What does it mean for a caliber to be flat shooting?

Using only 1s, make 29 with the minimum number of digits

Nested word series [humans only]

How should I handle players who ignore the session zero agreement?



Magento API Documentation


Extending Magento REST Api with a custom module fails on routeAccess Pre-Authorized Rest APIAPI SOAP V2 CatalogProductList WSDL + controller changes not workingHow to get json of products/storeConfig by making a request with an url?Magento SOAP API Add to cart, how to add a grouped product?Magento's REST API responses claiming oauth_callback param is emptyIs there a Magento API reference?Where does the data node inside the API method catalogProductLinkAssign get extracted?Magento 2 search using REST APIsMagento 2 token integration error













2















Where can I found a Magento API documentation that list all Magento technical functions? I found this link http://docs.magentocommerce.com, however this documentation is not complete and not very detail. For instance, I could not find this function Mage::getModel(String) from this Magento docs.



The documentation I am looking for that something like Java API http://docs.oracle.com/javase/6/docs/api/, specified the function description, return type, parameters, etc.










share|improve this question





























    2















    Where can I found a Magento API documentation that list all Magento technical functions? I found this link http://docs.magentocommerce.com, however this documentation is not complete and not very detail. For instance, I could not find this function Mage::getModel(String) from this Magento docs.



    The documentation I am looking for that something like Java API http://docs.oracle.com/javase/6/docs/api/, specified the function description, return type, parameters, etc.










    share|improve this question



























      2












      2








      2








      Where can I found a Magento API documentation that list all Magento technical functions? I found this link http://docs.magentocommerce.com, however this documentation is not complete and not very detail. For instance, I could not find this function Mage::getModel(String) from this Magento docs.



      The documentation I am looking for that something like Java API http://docs.oracle.com/javase/6/docs/api/, specified the function description, return type, parameters, etc.










      share|improve this question
















      Where can I found a Magento API documentation that list all Magento technical functions? I found this link http://docs.magentocommerce.com, however this documentation is not complete and not very detail. For instance, I could not find this function Mage::getModel(String) from this Magento docs.



      The documentation I am looking for that something like Java API http://docs.oracle.com/javase/6/docs/api/, specified the function description, return type, parameters, etc.







      api






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 46 mins ago









      Teja Bhagavan Kollepara

      2,96341847




      2,96341847










      asked Jan 13 '14 at 3:01









      LeongelisLeongelis

      380721




      380721






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Magento not provide this type of document because it Magento Use Zend Framwork and which is developed in PHP and PHP is not a strict Language as JAVA.



          So you can define your new classes and Methods in your way.



          If you are using core classes of magento then if you want to see which methods This class contain then you can use below PHP Function



          array get_class_methods ( mixed $class_name )


          This function will return the method list in array format you can see that use this method



          Example



          <?php

          class myclass {
          // constructor
          function myclass()
          {
          return(true);
          }
          // method 1
          function myfunc1()
          {
          return(true);
          }
          // method 2
          function myfunc2()
          {
          return(true);
          }
          }
          $class_methods = get_class_methods('myclass');
          // or
          $class_methods = get_class_methods(new myclass());
          foreach ($class_methods as $method_name)
          {
          echo "$method_namen";
          }
          ?>


          The above example will output:



          myclass
          myfunc1
          myfunc2





          share|improve this answer


























          • Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

            – Leongelis
            Jan 13 '14 at 4:56











          • @Leongelis You welcome :)

            – Keyul Shah
            Jan 13 '14 at 4:58



















          0














          The closest thing I have found is at: http://docs.magentocommerce.com/ which details out the core Magento classes, and tells a bit about them. It has helped me in some cases.



          I also suggest using Magicento if you are developing for Magento, http://magicento.com/, it is a great tool. Although it isn't straight up documentation, it helps tremendously in detailing what class functions are available to you as you write your code.



          Creating your own classes as Keyul suggested is also a viable option, but if the functionality already exists in the core functions, why re-invent the wheel?






          share|improve this answer
























          • Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

            – Leongelis
            Jan 15 '14 at 2:35











          • It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

            – Vallier
            Jan 15 '14 at 22:57











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "479"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f13045%2fmagento-api-documentation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          Magento not provide this type of document because it Magento Use Zend Framwork and which is developed in PHP and PHP is not a strict Language as JAVA.



          So you can define your new classes and Methods in your way.



          If you are using core classes of magento then if you want to see which methods This class contain then you can use below PHP Function



          array get_class_methods ( mixed $class_name )


          This function will return the method list in array format you can see that use this method



          Example



          <?php

          class myclass {
          // constructor
          function myclass()
          {
          return(true);
          }
          // method 1
          function myfunc1()
          {
          return(true);
          }
          // method 2
          function myfunc2()
          {
          return(true);
          }
          }
          $class_methods = get_class_methods('myclass');
          // or
          $class_methods = get_class_methods(new myclass());
          foreach ($class_methods as $method_name)
          {
          echo "$method_namen";
          }
          ?>


          The above example will output:



          myclass
          myfunc1
          myfunc2





          share|improve this answer


























          • Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

            – Leongelis
            Jan 13 '14 at 4:56











          • @Leongelis You welcome :)

            – Keyul Shah
            Jan 13 '14 at 4:58
















          2














          Magento not provide this type of document because it Magento Use Zend Framwork and which is developed in PHP and PHP is not a strict Language as JAVA.



          So you can define your new classes and Methods in your way.



          If you are using core classes of magento then if you want to see which methods This class contain then you can use below PHP Function



          array get_class_methods ( mixed $class_name )


          This function will return the method list in array format you can see that use this method



          Example



          <?php

          class myclass {
          // constructor
          function myclass()
          {
          return(true);
          }
          // method 1
          function myfunc1()
          {
          return(true);
          }
          // method 2
          function myfunc2()
          {
          return(true);
          }
          }
          $class_methods = get_class_methods('myclass');
          // or
          $class_methods = get_class_methods(new myclass());
          foreach ($class_methods as $method_name)
          {
          echo "$method_namen";
          }
          ?>


          The above example will output:



          myclass
          myfunc1
          myfunc2





          share|improve this answer


























          • Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

            – Leongelis
            Jan 13 '14 at 4:56











          • @Leongelis You welcome :)

            – Keyul Shah
            Jan 13 '14 at 4:58














          2












          2








          2







          Magento not provide this type of document because it Magento Use Zend Framwork and which is developed in PHP and PHP is not a strict Language as JAVA.



          So you can define your new classes and Methods in your way.



          If you are using core classes of magento then if you want to see which methods This class contain then you can use below PHP Function



          array get_class_methods ( mixed $class_name )


          This function will return the method list in array format you can see that use this method



          Example



          <?php

          class myclass {
          // constructor
          function myclass()
          {
          return(true);
          }
          // method 1
          function myfunc1()
          {
          return(true);
          }
          // method 2
          function myfunc2()
          {
          return(true);
          }
          }
          $class_methods = get_class_methods('myclass');
          // or
          $class_methods = get_class_methods(new myclass());
          foreach ($class_methods as $method_name)
          {
          echo "$method_namen";
          }
          ?>


          The above example will output:



          myclass
          myfunc1
          myfunc2





          share|improve this answer















          Magento not provide this type of document because it Magento Use Zend Framwork and which is developed in PHP and PHP is not a strict Language as JAVA.



          So you can define your new classes and Methods in your way.



          If you are using core classes of magento then if you want to see which methods This class contain then you can use below PHP Function



          array get_class_methods ( mixed $class_name )


          This function will return the method list in array format you can see that use this method



          Example



          <?php

          class myclass {
          // constructor
          function myclass()
          {
          return(true);
          }
          // method 1
          function myfunc1()
          {
          return(true);
          }
          // method 2
          function myfunc2()
          {
          return(true);
          }
          }
          $class_methods = get_class_methods('myclass');
          // or
          $class_methods = get_class_methods(new myclass());
          foreach ($class_methods as $method_name)
          {
          echo "$method_namen";
          }
          ?>


          The above example will output:



          myclass
          myfunc1
          myfunc2






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 13 '14 at 5:17

























          answered Jan 13 '14 at 4:12









          Keyul ShahKeyul Shah

          6,56963058




          6,56963058













          • Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

            – Leongelis
            Jan 13 '14 at 4:56











          • @Leongelis You welcome :)

            – Keyul Shah
            Jan 13 '14 at 4:58



















          • Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

            – Leongelis
            Jan 13 '14 at 4:56











          • @Leongelis You welcome :)

            – Keyul Shah
            Jan 13 '14 at 4:58

















          Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

          – Leongelis
          Jan 13 '14 at 4:56





          Appreciate Keyul. If this is the case, then no choice for me have to this temporary utility class. Cheers.

          – Leongelis
          Jan 13 '14 at 4:56













          @Leongelis You welcome :)

          – Keyul Shah
          Jan 13 '14 at 4:58





          @Leongelis You welcome :)

          – Keyul Shah
          Jan 13 '14 at 4:58













          0














          The closest thing I have found is at: http://docs.magentocommerce.com/ which details out the core Magento classes, and tells a bit about them. It has helped me in some cases.



          I also suggest using Magicento if you are developing for Magento, http://magicento.com/, it is a great tool. Although it isn't straight up documentation, it helps tremendously in detailing what class functions are available to you as you write your code.



          Creating your own classes as Keyul suggested is also a viable option, but if the functionality already exists in the core functions, why re-invent the wheel?






          share|improve this answer
























          • Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

            – Leongelis
            Jan 15 '14 at 2:35











          • It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

            – Vallier
            Jan 15 '14 at 22:57
















          0














          The closest thing I have found is at: http://docs.magentocommerce.com/ which details out the core Magento classes, and tells a bit about them. It has helped me in some cases.



          I also suggest using Magicento if you are developing for Magento, http://magicento.com/, it is a great tool. Although it isn't straight up documentation, it helps tremendously in detailing what class functions are available to you as you write your code.



          Creating your own classes as Keyul suggested is also a viable option, but if the functionality already exists in the core functions, why re-invent the wheel?






          share|improve this answer
























          • Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

            – Leongelis
            Jan 15 '14 at 2:35











          • It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

            – Vallier
            Jan 15 '14 at 22:57














          0












          0








          0







          The closest thing I have found is at: http://docs.magentocommerce.com/ which details out the core Magento classes, and tells a bit about them. It has helped me in some cases.



          I also suggest using Magicento if you are developing for Magento, http://magicento.com/, it is a great tool. Although it isn't straight up documentation, it helps tremendously in detailing what class functions are available to you as you write your code.



          Creating your own classes as Keyul suggested is also a viable option, but if the functionality already exists in the core functions, why re-invent the wheel?






          share|improve this answer













          The closest thing I have found is at: http://docs.magentocommerce.com/ which details out the core Magento classes, and tells a bit about them. It has helped me in some cases.



          I also suggest using Magicento if you are developing for Magento, http://magicento.com/, it is a great tool. Although it isn't straight up documentation, it helps tremendously in detailing what class functions are available to you as you write your code.



          Creating your own classes as Keyul suggested is also a viable option, but if the functionality already exists in the core functions, why re-invent the wheel?







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 13 '14 at 16:09









          VallierVallier

          22126




          22126













          • Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

            – Leongelis
            Jan 15 '14 at 2:35











          • It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

            – Vallier
            Jan 15 '14 at 22:57



















          • Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

            – Leongelis
            Jan 15 '14 at 2:35











          • It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

            – Vallier
            Jan 15 '14 at 22:57

















          Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

          – Leongelis
          Jan 15 '14 at 2:35





          Hi Vallier, big thanks for the links. However, does magicento extension can be installed in eclipse IDE? Or only explicitly for PHPstorm?

          – Leongelis
          Jan 15 '14 at 2:35













          It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

          – Vallier
          Jan 15 '14 at 22:57





          It is a PHPStorm plugin, I didn't really think about what IDE you may be using. I've only ever developed for Magento in PHPStorm so I didn't think about that.

          – Vallier
          Jan 15 '14 at 22:57


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f13045%2fmagento-api-documentation%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          “%fieldName is a required field.”, in Magento2 REST API Call for GET Method Type The Next...

          How to change City field to a dropdown in Checkout step Magento 2Magento 2 : How to change UI field(s)...

          夢乃愛華...