ACC SHELL

Path : /srv/www/vhosts/profias/inc/admin/
File Upload :
Current File : /srv/www/vhosts/profias/inc/admin/label.php

<?php

  class Label extends AdminItem
  {
    
    function Label($args)
    {
      $this->setBasicParametres($args);
    }
  
  
  
    function select()
    {
      $result=array(
        'fields'=>$this->field.' AS '.$this->formName,
      );
      
      return $result;
    }


    function detail()
    {
      $result=array(
        'label'=>$this->name,
        'value'=>'',
      );
      
      return $result;
    
    }

    
    function getFormParams($admin)
    {
      $result=array(
        'type'=>'label',
        'name'=>'',
        'value'=>$this->default,
        'reg'=>$this->reg,
        'css_id'=>$this->id,
        'css_class'=>$this->class,
        'spec'=>$this->spec,
        'label'=>$this->name,
        'label_id'=>$this->labelId,
        'label_class'=>$this->labelClass,
      );
    
    
      return array($result);

    }


    
    function getInsertParams($admin)
    {
      return FALSE;
    }    

  }


?>

ACC SHELL 2018