public function setAccounting($account_local_traffic, $enabled, $threshold) {
        $sentence = new SentenceUtil();
        $sentence->addCommand("/ip/accounting/set");
        $sentence->setAttribute("account-local-traffic", $account_local_traffic);
        $sentence->setAttribute("enabled", $enabled);
        $sentence->setAttribute("threshold", $threshold);
        $this->talker->send($sentence);
        return "Sucsess";
    }
public function setAccounting($account_local_traffic, $enabled, $threshold) {
        $sentence = new SentenceUtil();
        $sentence->addCommand("/ip/accounting/set");
        $sentence->setAttribute("account-local-traffic", $account_local_traffic);
        $sentence->setAttribute("enabled", $enabled);
        $sentence->setAttribute("threshold", $threshold);
        $this->talker->send($sentence);
        return "Sucsess";
    }
public function setAccounting ( $ account_local_traffic , $ enabled , $ threshold ) { $ sentence = new SentenceUtil ( ) ; $ sentence -> addCommand ( "/ip/accounting/set" ) ; $ sentence -> setAttribute ( "account-local-traffic" , $ account_local_traffic ) ; $ sentence -> setAttribute ( "enabled" , $ enabled ) ; $ sentence -> setAttribute ( "threshold" , $ threshold ) ; $ this -> talker -> send ( $ sentence ) ; return "Sucsess" ; }
This method is used to set or edit ip accountng
@param type $account_local_traffic string
@param type $enabled string
@param type $threshold string
@return type array
This method is used to set or edit ip accountng