|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| {{Moodle 2.0}}
| | #redirect [[Tag API]] |
| {| style="border: 1px solid #aaaaff; background-color: #eeeeff; width: 80%; margin: 0 auto 1em auto; padding: .2em; text-align: {{{align|left}}}"
| |
| |{{{image|}}}
| |
| | '''WORK IN PROGRESS: I've currently just created a template, so please ignore this page until this wip notices has been removed.''' However, you are free to help in the construction of this page by improving it. Please review the [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|ac tion=history}} edit history] if you would like to contact the user who put up this notice. If this article has not been edited by that user in a while, please remove this template.
| |
| |}
| |
| <noinclude>
| |
| | |
| | |
| ==Objectives==
| |
| | |
| The goals of Tag API:
| |
| | |
| * example goal
| |
| | |
| | |
| ==Overview==
| |
| | |
| Tag API provides following functionalities:
| |
| # example functionality
| |
| | |
| ==Tag API database table==
| |
| | |
| {| class="nicetable"
| |
| |-
| |
| ! Field
| |
| ! Type
| |
| ! Default
| |
| ! Info
| |
| |-
| |
| | id
| |
| | int(10)
| |
| | auto-incrementing
| |
| | The unique ID for this Tag.
| |
| |-
| |
| | userid
| |
| | int(10)
| |
| |
| |
| | The user that the Tag belongs to
| |
| |-
| |
| | timecreated
| |
| | int(10)
| |
| |
| |
| |
| |
| |-
| |
| | timemodified
| |
| | int(10)
| |
| |
| |
| |
| |
| |}
| |
| | |
| ==Tag API Usage==
| |
| | |
| ===Title for the example goes here===
| |
| | |
| Description of the example:
| |
| | |
| <code php>
| |
| shortexamplecode();
| |
| </code>
| |
| | |
| ===Title for the second example goes here===
| |
| | |
| Description of the example:
| |
| | |
| <code php>
| |
| shortexamplecode();
| |
| </code>
| |
| | |
| ==Tag API overview==
| |
| | |
| The Tag API has been implemented in lib/moodlelib.php.
| |
| | |
| ====examplefunction()====
| |
| Example function description.
| |
| | |
| ==See also==
| |