本文整理汇总了PHP中Package::full_name方法的典型用法代码示例。如果您正苦于以下问题:PHP Package::full_name方法的具体用法?PHP Package::full_name怎么用?PHP Package::full_name使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Package
的用法示例。
在下文中一共展示了Package::full_name方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: component_row
function component_row(Package $component, $indentation, TableCreator $table_creator)
{
$req_id = array();
$component->with('requirements');
foreach ($component->requirements as $rq) {
array_push($req_id, $table_creator->link($rq->public_id(), $rq->public_id()));
}
array_unique($req_id);
$cells = array($table_creator->child_indentation($indentation), $table_creator->link($component->full_name(), $component->full_name("::\\-")), implode("\n\n", $req_id));
$ret = $table_creator->row($cells);
$nested = $component->with('packages')->packages;
foreach ($nested as $nuc) {
$ret .= component_row($nuc, $indentation + 1, $table_creator);
}
return $ret;
}
示例2: component_row
function component_row(Package $package, $indentation, TableCreator $table_creator)
{
$ret = $table_creator->row(array($package->full_name(), $package->afferente(), $package->efferente(), round($package->instability(), 2)));
$nested = $package->with('packages')->packages;
foreach ($nested as $nuc) {
$ret .= component_row($nuc, $indentation + 1, $table_creator);
}
return $ret;
}
示例3: component_row
function component_row(Package $package, $indentation, TableCreator $table_creator)
{
$package->with('integration');
$ret = $table_creator->row(array($package->full_name(), $package->integration == null ? 'Architettura del sistema' : $package->integration->public_id()));
$nested = $package->with('packages')->packages;
foreach ($nested as $nuc) {
$ret .= component_row($nuc, $indentation + 1, $table_creator);
}
return $ret;
}