Permalink
Browse files

Docs and docblock related comments

  • Loading branch information...
Simon Wheatley
Simon Wheatley committed Oct 6, 2011
1 parent 86ccaab commit d84bf4e2c1185942a1bb99e138bd6d11e2a4b2d6
Showing with 12,793 additions and 7 deletions.
  1. +9 −1 babble-poc.php
  2. +8 −0 babble.php
  3. +1 −3 class-languages.php
  4. +1 −1 class-plugin.php
  5. +1 −2 class-post-public.php
  6. +844 −0 docs/Babble/Babble_Languages.html
  7. +795 −0 docs/Babble/Babble_Locale.html
  8. +1,429 −0 docs/Babble/Babble_Plugin.html
  9. +101 −0 docs/Babble/Babble_Post_Public.html
  10. +531 −0 docs/Babble/Babble_Taxonomies.html
  11. +138 −0 docs/Babble/Proof/_babble-poc.php.html
  12. +38 −0 docs/Babble/Templates/_templates-admin---options-available-languages.php.html
  13. +380 −0 docs/Babble/_api.php.html
  14. +120 −0 docs/Babble/_babble.php.html
  15. +60 −0 docs/Babble/_class-languages.php.html
  16. +60 −0 docs/Babble/_class-locale.php.html
  17. +60 −0 docs/Babble/_class-plugin.php.html
  18. +60 −0 docs/Babble/_class-post-public.php.html
  19. +60 −0 docs/Babble/_class-taxonomy.php.html
  20. +844 −0 docs/WordPress/Babble/Babble_Languages.html
  21. +795 −0 docs/WordPress/Babble/Babble_Locale.html
  22. +101 −0 docs/WordPress/Babble/Babble_Post_Public.html
  23. +531 −0 docs/WordPress/Babble/Babble_Taxonomies.html
  24. +138 −0 docs/WordPress/Babble/_babble-poc.php.html
  25. +120 −0 docs/WordPress/Babble/_babble.php.html
  26. +60 −0 docs/WordPress/Babble/_class-languages.php.html
  27. +60 −0 docs/WordPress/Babble/_class-locale.php.html
  28. +60 −0 docs/WordPress/Babble/_class-post-public.php.html
  29. +60 −0 docs/WordPress/Babble/_class-taxonomy.php.html
  30. +1,429 −0 docs/WordPress/Babble_Plugin.html
  31. +380 −0 docs/WordPress/Languages/_api.php.html
  32. +60 −0 docs/WordPress/_class-plugin.php.html
  33. +13 −0 docs/blank.html
  34. +34 −0 docs/classtrees_Babble.html
  35. +26 −0 docs/classtrees_WordPress.html
  36. +20 −0 docs/classtrees_default.html
  37. +134 −0 docs/default/_babble-poc.php.html
  38. +116 −0 docs/default/_babble.php.html
  39. +34 −0 docs/default/_languages---fa_IR.php.html
  40. +34 −0 docs/default/_templates-admin---options-available-languages.php.html
  41. +1,070 −0 docs/elementindex.html
  42. +1,064 −0 docs/elementindex_Babble.html
  43. +421 −0 docs/elementindex_WordPress.html
  44. +41 −0 docs/elementindex_default.html
  45. +63 −0 docs/errors.html
  46. +24 −0 docs/index.html
  47. +81 −0 docs/li_Babble.html
  48. +34 −0 docs/li_WordPress.html
  49. +33 −0 docs/li_default.html
  50. +32 −0 docs/media/banner.css
  51. +144 −0 docs/media/stylesheet.css
  52. +32 −0 docs/packages.html
  53. +9 −0 templates-admin/options-available-languages.php
View
@@ -18,6 +18,14 @@
*/
+/**
+ * Rough proof of concept functions. Nothing of any permanence.
+ *
+ * @package Babble
+ * @subpackage Proof of Concept
+ * @since Alpha 0
+ */
+
require_once( 'api.php' );
// @FIXME: Move into class property when creating the actual plugin
@@ -541,7 +549,7 @@ function sil_set_transid( $post, $transid = false ) {
$transid_name = 'post_transid_' . uniqid();
$result = wp_insert_term( $transid_name, 'post_translation', array() );
if ( is_wp_error( $result ) )
- error_log( "Problem creating a new TransID: " . print_r( $result, true ) );
+ error_log( "Problem creating a new Post TransID: " . print_r( $result, true ) );
else
$transid = $result[ 'term_id' ];
}
View
@@ -27,6 +27,14 @@
*/
+/**
+ * Main plugin information and requires.
+ *
+ * @package Babble
+ * @since Alpha 1
+ * @copyright Copyright (C) Simon Wheatley (except where noted)
+ */
+
require_once( 'class-plugin.php' );
require_once( 'class-locale.php' );
require_once( 'class-languages.php' );
View
@@ -3,8 +3,7 @@
/**
* Manages the languages available for the site.
*
- * @package WordPress
- * @subpackage Babble
+ * @package Babble
* @since Alpha 1.1
*/
class Babble_Languages extends Babble_Plugin {
@@ -96,7 +95,6 @@ public function admin_notices() {
/**
* Hooks the WP admin_menu action
*
- * @param
* @return void
**/
public function admin_menu() {
View
@@ -54,7 +54,7 @@
* An additional benefit is that it leads to code re-use, especially with regards to Ajax (i.e.
* your display code can be called from many locations)
*
- * @package WordPress plugin base library
+ * @package Babble
* @author Simon Wheatley
* @copyright Copyright (C) Simon Wheatley (except where noted)
**/
View
@@ -3,8 +3,7 @@
/**
* Class for handling the public, content handling post types.
*
- * @package WordPress
- * @subpackage Babble
+ * @package Babble
* @since 0.1
*/
class Babble_Post_Public {
Oops, something went wrong.

0 comments on commit d84bf4e

Please sign in to comment.