Permalink
Browse files

added license headers

  • Loading branch information...
1 parent e82c456 commit e54b9daaa7db5abcba2a80d3f5125c8673253fc1 @zagraves zagraves committed Sep 23, 2009
Showing with 260 additions and 0 deletions.
  1. +32 −0 yupdates.php
  2. +32 −0 yupdates_db.php
  3. +32 −0 yupdates_hooks.php
  4. +33 −0 yupdates_menu.php
  5. +33 −0 yupdates_options.php
  6. +33 −0 yupdates_sessionstore.php
  7. +33 −0 yupdates_utils.php
  8. +32 −0 yupdates_widgets.php
View
@@ -1,4 +1,36 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
/*
Plugin Name: Yahoo! Updates
Plugin URI: http://developer.yahoo.com/social/
View
@@ -1,4 +1,36 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
define("YUPDATES_USER_OPTION", "yupdates_updates_widget_users");
define("YUPDATES_CONSUMER_KEY_OPTION", "yupdates_consumer_key");
View
@@ -1,4 +1,36 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
function yupdates_delete_post($postid) {
View
@@ -1,4 +1,37 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
+
require_once("yosdk_lib5/OAuth/OAuth.php");
require_once("yosdk_lib5/Yahoo/YahooOAuthApplication.class.php");
require_once("WordPressSessionStore.php");
View
@@ -1,4 +1,37 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
+
function yupdates_plugin_options() {
$ck = get_option('yupdates_consumer_key');
$cks = get_option('yupdates_consumer_secret');
View
@@ -1,4 +1,37 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
+
class WordPressSessionStore {
var $optionName = NULL;
var $option = NULL;
View
@@ -1,4 +1,37 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
+
function yupdates_has_session($application, $session_store) {
if($session_store->hasAccessToken())
{
View
@@ -1,4 +1,36 @@
<?php
+/**
+ * Yahoo! Updates Wordpress Plugin
+ *
+ * Find documentation and support on Yahoo! Developer Network: http://developer.yahoo.com
+ *
+ * Hosted on GitHub: http://github.com/yahoo/yos-updates-wordpress/tree/master
+ *
+ * @package yos-updates-wordpress
+ * @subpackage yahoo
+ *
+ * @author Ryan Kennedy <rckenned@yahoo-inc.com>, Lawrence Morrisroe <lem@yahoo-inc.com>, Zach Graves <zachg@yahoo-inc.com>
+ * @copyright Copyrights for code authored by Yahoo! Inc. is licensed under the following terms:
+ * @license BSD Open Source License
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ **/
function yupdates_yahoo_updates_widget($args) {
extract($args);

0 comments on commit e54b9da

Please sign in to comment.