예제 #1
0
파일: Abstract.php 프로젝트: knatorski/SMS
 /**
  * Pole: telefon
  *
  * @param boolean $acl
  * @param string $fieldname
  * @param string $label
  * @return void
  */
 public function phone($acl = false, $fieldname = 'phone', $label = 'Telefon:')
 {
     parent::phone($acl, $fieldname, $label);
     $element = $this->getElement($fieldname);
     $element->addFilters(array(new Logic_Filter_AlnumToNum()));
 }