Revize 8d0578dc
Přidáno uživatelem Filip Miškařík před více než 4 roky(ů)
application/helpers/callback.php | ||
---|---|---|
echo $item->vlans_count;
|
||
}
|
||
|
||
/**
|
||
* Callback to print caller
|
||
*
|
||
* @author Michal Kliment
|
||
* @param object $item
|
||
* @param string $name
|
||
* @param array $args
|
||
*/
|
||
public static function voip_caller($item, $name, $args = array())
|
||
{
|
||
$number = VoIP_calls_Controller::parse_number(
|
||
substr($item->caller, 4, strlen($item->caller) - 4)
|
||
);
|
||
|
||
echo VoIP_calls_Controller::number($number, $args[0], $args[1]);
|
||
}
|
||
|
||
/**
|
||
* Callback to print called
|
||
*
|
||
* @author Michal Kliment
|
||
* @param object $item
|
||
* @param string $name
|
||
* @param array $args
|
||
*/
|
||
public static function voip_callcon($item, $name, $args = array())
|
||
{
|
||
$number = VoIP_calls_Controller::parse_number(
|
||
substr($item->callcon, 4, strlen($item->callcon) - 4), $item->area
|
||
);
|
||
|
||
echo VoIP_calls_Controller::number($number, $args[0], $args[1]);
|
||
}
|
||
|
||
/**
|
||
* Callback function to show vote as image
|
||
*
|
Také k dispozici: Unified diff
refs #1135: lBilling, voip, voip sip deleted. All relations for this controllers and models deleted.