Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct();
     $this->errorMessages = array_merge($this->errorMessages, array(self::ERROR_TEMPLATE_HOST_MIX => _('Graph prototype "%1$s" with templated items cannot contain items from other hosts.'), self::ERROR_MISSING_GRAPH_NAME => _('Missing "name" field for graph prototype.'), self::ERROR_MISSING_GRAPH_ITEMS => _('Missing items for graph prototype "%1$s".'), self::ERROR_MISSING_REQUIRED_VALUE => _('No "%1$s" given for graph prototype.'), self::ERROR_TEMPLATED_ID => _('Cannot update "templateid" for graph prototype "%1$s".'), self::ERROR_GRAPH_SUM => _('Cannot add more than one item with type "Graph sum" on graph prototype "%1$s".')));
 }
 public function __construct()
 {
     parent::__construct();
     $this->errorMessages = array_merge($this->errorMessages, array(self::ERROR_TEMPLATE_HOST_MIX => _('Graph prototype "%1$s" with templated items cannot contain items from other hosts.')));
 }