Fills properties.
427789
public function fillProperties()
    {
        $entity = $this->entity;
        $entityInfo = new EntityInfo($entity);
        $entityProperties = $entityInfo->getProperties();
        foreach ($entityProperties as $property) {
            $propertyName = $property->getName();
            $fakeData = $this->faker->fake($propertyName)->toArray();
            if ($property->isStatic()) {
                $entity::$$propertyName = $fakeData[0];
            } else {
                $entity->$propertyName = $fakeData[0];
            }
        }
    }
46113
public function fill()
    {
        $languages = $this->languageRepository->activeLanguages();
        $this->initPages($languages);
        $this->initBasePages($languages);
    }
1136180
public function fill()
    {
        // Write the position value to the pivot table
        if (isset($this->pivot->position)) {
            $this->pivot->position = request('position');
            $this->pivot->save();

        // Write position value to the item
        } elseif (isset($this->item->position)) {

            // Visiblity may be set at the same time and would be ignored otherwise
            if (Request::has('public')) {
                $this->item->public = request('public');
            }

            // Do position
            $this->item->position = request('position');
        }
    }
131842
protected void fill() {

        m_list.clear();
        List<CmsResourceStatusRelationBean> relationBeans = getRelationBeans();
        if (relationBeans.isEmpty()) {
            CmsSimpleListItem item = new CmsSimpleListItem();
            item.add(new Label(getEmptyMessage()));
            m_list.add(item);
        } else {
            for (CmsResourceStatusRelationBean relationBean : relationBeans) {
                CmsListItemWidget itemWidget = new CmsListItemWidget(relationBean.getInfoBean());
                CmsListItem item = new CmsListItem(itemWidget);
                CmsContextMenuButton button = new CmsContextMenuButton(
                    relationBean.getStructureId(),
                    m_menuHandler,
                    AdeContext.resourceinfo);
                item.getListItemWidget().addButton(button);
                final CmsResourceStatusRelationBean currentRelationBean = relationBean;
                final boolean isContainerpage = CmsGwtConstants.TYPE_CONTAINERPAGE.equals(
                    relationBean.getInfoBean().getResourceType());
                final boolean isXmlContent = relationBean.isXmlContent();
                final boolean isEditable = (isXmlContent || isContainerpage)
                    && relationBean.getPermissionInfo().hasWritePermission()
                    && !currentRelationBean.getSitePath().matches(DETAIL_CONTAINER_PATTERN);
                if (isEditable) {

                    m_editButton = new CmsPushButton();
                    m_editButton.setImageClass(I_CmsButton.PEN_SMALL);
                    m_editButton.setButtonStyle(ButtonStyle.FONT_ICON, null);
                    m_editButton.setTitle(
                        org.opencms.gwt.client.Messages.get().key(
                            org.opencms.gwt.client.Messages.GUI_BUTTON_ELEMENT_EDIT_0));
                    if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(relationBean.getPermissionInfo().getNoEditReason())) {
                        m_editButton.disable(relationBean.getPermissionInfo().getNoEditReason());
                    } else {
                        m_editButton.setEnabled(true);
                    }
                    item.getListItemWidget().addButton(m_editButton);
                    m_editButton.addClickHandler(new ClickHandler() {

                        public void onClick(ClickEvent event) {

                            if (isContainerpage) {
                                Window.open(currentRelationBean.getLink(), "_self", "");
                            } else {
                                CmsEditableData editableData = new CmsEditableData();
                                editableData.setElementLanguage(CmsCoreProvider.get().getLocale());
                                editableData.setStructureId(currentRelationBean.getStructureId());
                                editableData.setSitePath(currentRelationBean.getSitePath());
                                CmsContentEditorDialog.get().openEditDialog(
                                    editableData,
                                    false,
                                    null,
                                    new DialogOptions(),
                                    new I_CmsContentEditorHandler() {

                                        public void onClose(
                                            String sitePath,
                                            CmsUUID structureId,
                                            boolean isNew,
                                            boolean hasChangedSettings) {

                                            if (m_popup != null) {
                                                m_popup.hide();
                                            }
                                        }
                                    });
                                ((CmsPushButton)event.getSource()).clearHoverState();
                            }
                        }
                    });
                }

                if (isContainerpage) {
                    if (relationBean.getLink() != null) {
                        final String link = relationBean.getLink();
                        itemWidget.setIconCursor(Cursor.POINTER);
                        itemWidget.addIconClickHandler(new ClickHandler() {

                            public void onClick(ClickEvent e) {

                                Window.open(link, "_blank", "");
                            }
                        });
                    }
                }
                m_list.add(item);
            }
        }
        if ((m_mode == Mode.sources) && !m_statusBean.getOtherSiteRelationSources().isEmpty()) {
            m_otherSitesList = createList(Messages.get().key(Messages.GUI_RESOURCEINFO_OTHERSITES_LEGEND_0));
            for (CmsResourceStatusRelationBean relationBean : m_statusBean.getOtherSiteRelationSources()) {
                CmsListItemWidget itemWidget = new CmsListItemWidget(relationBean.getInfoBean());
                CmsListItem item = new CmsListItem(itemWidget);
                m_otherSitesList.add(item);
            }
        }

        m_list.truncate("RES_INFO", CmsPopup.DEFAULT_WIDTH - 5);
        if (m_otherSitesList != null) {
            m_otherSitesList.truncate("RES_INFO", CmsPopup.DEFAULT_WIDTH - 5);
        }

    }
232655
def _fill(self):
        """"""
        r, g, b = hue2col(self._hue)
        width = self.winfo_width()
        height = self.winfo_height()
        h = float(height - 1)
        w = float(width - 1)
        if height:
            c = [(r + i / h * (255 - r), g + i / h * (255 - g), b + i / h * (255 - b)) for i in range(height)]
            data = []
            for i in range(height):
                line = []
                for j in range(width):
                    rij = round2(j / w * c[i][0])
                    gij = round2(j / w * c[i][1])
                    bij = round2(j / w * c[i][2])
                    color = rgb_to_hexa(rij, gij, bij)
                    line.append(color)
                data.append("{" + " ".join(line) + "}")
            self.bg.put(" ".join(data))
243364
public function fill($attributes)
    {
        foreach ($attributes as $key => $value) {
            if (in_array($key, $this->fillable)) {
                $this->{$key} = $value;
            }
        }
    }
1051976
protected void fillMissingParameters() {
    if (dest == null) {
      dest = Key.make();
    }
    if (seed == -1) {
      seed = new Random().nextLong();
      Log.info("Generated seed: " + seed);
    }
  }
452366
protected void addProperties(Root<T> root, CriteriaQuery<T> query, Set<String> properties) {
		
		// Ajout des ppt
		addProperties(root, properties);
		
		// On positionne le distict
		query.distinct(true);
	}
54834
protected function fillIfNotFilled()
    {
        if (!$this->lazyLoad || $this->lazyLoaded || !$this->repository) {
            return;
        }

        $this->repository->fill($this, $this->lazyLoadAttributes);

        $this->lazyLoaded = true;
    }
127956
def do_fill(self, params):
        
        self._zk.set(params.path, decoded(params.val * params.repeat))
775917
private void addLoadPropertyIds(Object[] properties, int count) {
        addNewObjectArray(count);
        for (int i = 0; i != count; ++i) {
            cfw.add(ByteCode.DUP);
            cfw.addPush(i);
            Object id = properties[i];
            if (id instanceof String) {
                cfw.addPush((String)id);
            } else {
                cfw.addPush(((Integer)id).intValue());
                addScriptRuntimeInvoke("wrapInt", "(I)Ljava/lang/Integer;");
            }
            cfw.add(ByteCode.AASTORE);
        }
    }
437906
def _fill(self, values):
        """"""
        if not self._previous_line:
            self._previous_line = values
            return super(StackedLine, self)._fill(values)
        new_values = values + list(reversed(self._previous_line))
        self._previous_line = values
        return new_values
475167
def _fill(self):
    """"""
    try:
      self._head = self._iterable.next()
    except StopIteration:
      self._head = None
1267067
function(prop, value) {

      if ((prop === 'fill' || prop === 'overlayFill') && value && this.isSameColor()) {
        var i = this.paths.length;
        while (i--) {
          this.paths[i]._set(prop, value);
        }
      }

      return this.callSuper('_set', prop, value);
    }
1289773
def fill_data_brok_from(self, data, brok_type):
        
        cls = self.__class__
        # Now config properties
        for prop, entry in list(cls.properties.items()):
            # Is this property intended for broking?
            # if 'fill_brok' in entry[prop]:
            if brok_type in entry.fill_brok:
                if hasattr(self, prop):
                    data[prop] = getattr(self, prop)
614936
function() {
            var that = this;
            $.each(this.map, function(k, v) {
               var $c = that.$widget.find('.'+k), f, items;
               if($c.length) {
                   that['$'+k] = $c; //set properties like this.$day, this.$month etc.
                   f = 'fill' + k.charAt(0).toUpperCase() + k.slice(1); //define method name to fill items, e.g `fillDays`
                   items = that[f](); 
                   that['$'+k].html(that.renderItems(items));
               }
            }); 
        }
414579
public static void fillBeanProperties(Object bean, Map<String, Object> props) {
        fillBeanProperties(bean, props, EMPTY_MAP);
    }