示例#1
0
 /**
  * Pole: nazwa miasta
  *
  * @param boolean $acl
  * @param string $fieldname
  * @param string $label
  * @param mixed $required
  * @return void
  */
 protected function city($acl = false, $fieldname = 'city', $label = 'Miasto:', $required = null)
 {
     parent::city($acl, $fieldname, $label, $required);
     $element = $this->getElement($fieldname);
     $element->addFilters(array());
 }