Sources for file plugins/smarty/function.debug_xnyo_plugin_descr.php in version 3.0
Click on a comment to hide it. Click here to show all comments.
/**
* Project: Xnyo: Application Backend
* File: plugins/smarty/function.debug_xnyo_plugin_descr.php
* Get the class description, if we have one.
*
* Website: http://xnyo.odynia.org/
* Manual: http://xnyo.odynia.org/manual/
*
* Version: 3.0-dev
* SVN Id: $Id: function.debug_xnyo_plugin_descr.php 2 2004-07-06 19:49:11Z bok $
* SVN URL: $HeadURL:
http://svn.odynia.org/xnyo/trunk/plugins/smarty/function.debug_xnyo_plugin_descr.php $
* Authors: Robert Amos <bok[at]odynia.org>
* Andrew Wellington <proton[at]wiretapped.net>
* vort <vort[at]solutionstap.com>
*
* Copyright (c) 2001-2004 Robert Amos <bok[at]odynia.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
**/
function smarty_function_debug_xnyo_plugin_descr($params, &$smarty)
{
$vars = get_class_vars($params['class']);
if (isset($vars['_xnyo_plugin_desc']))
return $vars['_xnyo_plugin_desc'];
return NULL;
}
/* vim: set expandtab: */
?>
