K
K
k2lhu2017-05-25 16:06:18
Yii
k2lhu, 2017-05-25 16:06:18

Are there any convenient ways to integrate pear2 with yii2 for mikrotik?

Are there convenient ways to integrate pear2 with yii2 for mikrotik?
In Mikrotik, the same / ppp / secrets goes, and the command in pear / ppp / secret - without the 's' at the end, a trifle, but it costs tens of minutes until you find the answer in the bins of Google.
The absence of a normal id in its pure form, instead of it the system field .id - which stores the value in hexadecimal form and depends on the position of the element in the list, and when one is deleted, all the others are shifted by position -1 to the deleted document.
Thus, the key field I have is name. This is not always convenient. For secrets it will do, but with the rest?
Again, the difficulties in creating pagination, pear2 has its own query builder similar to ActiveRecord, however, how to make the same pagination in hexadecimal form, I imagine quite vaguely, given the features of the constructor, something like the usual limit is needed, but no.
Maybe someone worked with Mikrotik and can suggest some other library for more convenient work with routerOS.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question