Example #1
0
 /**
  * Returns only the alphabetic characters and digits in value.
  *
  * @param mixed $key
  * @return mixed
  */
 public function getAlnum($key)
 {
     if (!$this->keyExists($key)) {
         return false;
     }
     return Zend_Filter::getAlnum($this->_source[$key]);
 }
Example #2
0
 /**
  * Returns only the alphabetic characters and digits in value.
  *
  * @param mixed $key
  * @return mixed
  */
 public function getAlnum($key = null)
 {
     if (!($value = $this->keyExists($key))) {
         return false;
     }
     return Zend_Filter::getAlnum($value);
 }
Example #3
0
 /**
  * Returns only the alphabetic characters and digits in value.
  *
  * @param mixed $key
  * @return mixed
  */
 public function getAlnum($key)
 {
     return Zend_Filter::getAlnum($this->_source[$key]);
 }