本文整理汇总了PHP中Jot::a方法的典型用法代码示例。如果您正苦于以下问题:PHP Jot::a方法的具体用法?PHP Jot::a怎么用?PHP Jot::a使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Jot
的用法示例。
在下文中一共展示了Jot::a方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
', '<?php
echo $e === 'php' ? 'include' : 'print';
?>
');" title="<?php
echo $speak->shortcode;
?>
"><?php
echo Jot::icon($e === 'php' ? 'file-code-o' : 'file-o', 'fw') . ' ' . $_file;
?>
</a></td>
<td class="td-icon"><?php
echo Jot::a('construct', $config->manager->slug . '/asset/repair/file:__snippet/' . $e . '/' . $_file, Jot::icon('pencil'), array('title' => $speak->edit));
?>
</td>
<td class="td-icon"><?php
echo Jot::a('destruct', $config->manager->slug . '/asset/kill/file:__snippet/' . $e . '/' . $_file, Jot::icon('times'), array('title' => $speak->delete));
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<?php
}
?>
<p><?php
echo Jot::btn('action:database', $speak->snippets, $config->manager->slug . '/asset?path=__snippet');
?>
</p>
示例2: array
</td>
<td class="td-icon">
<?php
echo Jot::a('destruct', $shield_url_kill . $url, Jot::icon('times'), array('title' => $speak->delete));
?>
</td>
</tr>
<?php
}
?>
<?php
} else {
?>
<tr>
<td class="td-icon"><?php
echo $config->offset === 1 ? Jot::icon('home') : Jot::a('action', $shield_url, Jot::icon('home'));
?>
</td>
<td><?php
echo Config::speak('notify_' . ($config->offset === 1 ? 'empty' : 'error_not_found'), strtolower($speak->files));
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
<div class="tab-content hidden" id="tab-content-1-2">
<?php
示例3: array
}
?>
<?php
if (isset($_GET['path'])) {
?>
<tr>
<td colspan="3"><?php
echo File::B($q_path);
?>
</td>
<td class="td-icon"><?php
echo Jot::a('accept', $config->url_path . ($q_path_dir ? '?path=' . Text::parse($q_path_dir, '->encoded_url') : ""), Jot::icon('folder-open'), array('title' => $speak->exit . '…'));
?>
</td>
<td class="td-icon"><?php
echo Jot::a('destruct', $c_url_kill . $q_path . ($q_path_dir ? '?path=' . Text::parse($q_path_dir, '->encoded_url') : ""), Jot::icon('times'), array('title' => $speak->delete));
?>
</td>
</tr>
<?php
} else {
?>
<?php
if (!$files) {
?>
<tr>
<td colspan="3"><?php
echo $config->offset !== 1 ? Config::speak('notify_error_not_found') : Cell::strong('..');
?>
</td>
<td class="td-icon"><?php
示例4: array
?>
</code></td>
<?php
$files_a = (array) $files;
?>
<?php
if (isset($files_a[$key])) {
?>
<td class="td-icon">
<?php
echo Jot::a('construct', $config->manager->slug . '/tag/repair/id:' . $key, Jot::icon('pencil'), array('title' => $speak->edit));
?>
</td>
<td class="td-icon">
<?php
echo Jot::a('destruct', $config->manager->slug . '/tag/kill/id:' . $key, Jot::icon('times'), array('title' => $speak->delete));
?>
</td>
<?php
} else {
?>
<td class="td-icon"><?php
echo Jot::icon('pencil');
?>
</td>
<td class="td-icon"><?php
echo Jot::icon('times');
?>
</td>
<?php
}
示例5: foreach
foreach ($___ as $_) {
array_pop($___);
$t = end($___);
$__[] = Cell::a($asset_url . '/1' . str_replace('&', '&', HTTP::query(array('path' => $___ ? implode('/', $___) : false, 'q' => false))), $t ? $t : '..');
}
?>
<td colspan="3"><?php
echo implode(' » ', array_reverse($__)) . ' » ' . File::B($q_path);
?>
</td>
<td class="td-icon"><?php
echo Jot::a('accept', $config->url_path . $q_path_parent_, Jot::icon('folder-open'), array('title' => $speak->exit . '…'));
?>
</td>
<td class="td-icon"><?php
echo Jot::a('destruct', $asset_url_kill . $q_path . $q_path_parent_, Jot::icon('times'), array('title' => $speak->delete));
?>
</td>
</tr>
<?php
} else {
?>
<?php
if (!$files) {
?>
<tr>
<td colspan="3"><?php
echo $config->offset !== 1 ? $speak->notify_error_not_found : Cell::strong('..');
?>
</td>
<td class="td-icon"><?php