\PONIfDesc
Allows to attach some description on PON OLT interfaces
Synopsis
class PONIfDesc
{
- // constants
- const TABLE_IFDESC = 'ponifdesc';
- // members
- protected $dataSource = '';
- protected array $allDescriptions = ;
- // methods
- public void __construct()
- protected void initDataSource()
- protected void loadDescriptions()
- public string getDescription()
- public string renderIfForm()
- public void save()
Constants
Name | Value |
---|---|
TABLE_IFDESC | 'ponifdesc' |
Members
protected
Methods
protected
- initDataSource() — Inits database abstraction layer
- loadDescriptions() — Loads available descriptions from database
public
- __construct() — Creates new descriptor instance
- getDescription() — Returns description of PON interface if it exists
- renderIfForm() — Renders interface description form
- save() — Saves changed interface description in database