Exemplo n.º 1
0
        </table>
    </div>
    <h3><?php 
echo Language::string(696);
?>
</h3>
    <div>
        <table class='fullWidth'>
            <?php 
$count = 0;
$sql = "SELECT `" . Ini::$db_master_name . "`.`" . RDocFunction::get_mysql_table() . "`.`id`,\r\n                            `" . Ini::$db_master_name . "`.`" . UserFunction::get_mysql_table() . "`.`id`\r\n                            FROM `" . Ini::$db_master_name . "`.`" . UserFunction::get_mysql_table() . "` \r\n                            LEFT JOIN `" . Ini::$db_master_name . "`.`" . RDocFunction::get_mysql_table() . "` \r\n                                ON `" . Ini::$db_master_name . "`.`" . RDocFunction::get_mysql_table() . "`.`id`=`" . Ini::$db_master_name . "`.`" . UserFunction::get_mysql_table() . "`.`RDocFunction_id`\r\n                            WHERE `" . Ini::$db_master_name . "`.`" . UserFunction::get_mysql_table() . "`.`User_id`=" . $logged_user->id . "\r\n                            ORDER BY `" . Ini::$db_master_name . "`.`" . RDocFunction::get_mysql_table() . "`.`name` ASC";
$z = mysql_query($sql);
while ($r = mysql_fetch_array($z)) {
    $func = RDocFunction::from_mysql_id($r[0]);
    $count++;
    $doc = RDoc::from_mysql_id($func->RDoc_id);
    $lib = RDocLibrary::from_mysql_id($func->RDocLibrary_id);
    $doc_html = "";
    if ($doc != null) {
        $doc_html = $doc->HTML;
    }
    ?>
                <tr onmouseover='Test.uiMouseOverFunctionToolbarTr(<?php 
    echo $count;
    ?>
)'>
                    <td class='tdFunctionToolbarIcon'>
                        <span class="spanIcon ui-icon ui-icon-help tooltipDocDescription" title="<?php 
    echo Language::string(708);
    ?>
" onclick='Test.uiDocDialog(Test.getDocContent($(this).next().val()))'></span>
Exemplo n.º 2
0
 public function get_RDoc()
 {
     return RDoc::from_mysql_id($this->RDoc_id);
 }