Definition at line 9 of file connectable_summary.inc.
◆ __construct()
ConnectableSummary::__construct |
( |
|
$source, |
|
|
|
$class = "connectable_summary" |
|
) |
| |
◆ draw()
ConnectableSummary::draw |
( |
| ) |
|
Definition at line 38 of file connectable_summary.inc.
43 <ul
class=
"<?echo $this->class?>">
static getTargetClasses($sourceItem)
Return an array of connectable target classes for the specified item.
◆ drawTarget()
ConnectableSummary::drawTarget |
( |
|
$target | ) |
|
Definition at line 23 of file connectable_summary.inc.
25 trace(
"Drawing target: $target for source ".get_class($this->source), 3);
32 if (!
$count && !$this->showEmpty)
return;
34 <li><img src=
"<?echo $icon?>" alt=
"<?echo $name?>" title=
"<?echo $name?>" data-count=
"<?echo $count?>"/></li>
static getConnectedItemCount($sourceItem, $targetClass, $constraint="")
Returns the number of connected items for the specified source that are of the specified class.
◆ $class
ConnectableSummary::$class |
◆ $showEmpty
ConnectableSummary::$showEmpty = false |
◆ $source
ConnectableSummary::$source |
The documentation for this class was generated from the following file: