/** * Add a hidden sentence. * * @param string $text A hidden sentence. * @return void * @access public */ public function addHiddenText($text) { SERVICES_HYPERESTRAIER_DEBUG && Services_HyperEstraier_Utility::checkTypes(array($text, 'string')); $text = Services_HyperEstraier_Utility::sanitize($text); if (strlen($text)) { $this->_htexts[] = $text; } }
/** * Set the attribute distinction filter. * * @param string $name The name of an attribute to be distinct. * @return void * @access public */ public function setDistinct($name) { SERVICES_HYPERESTRAIER_DEBUG && Services_HyperEstraier_Utility::checkTypes(array($name, 'string')); $this->_distinct = Services_HyperEstraier_Utility::sanitize($name); }