Ejemplo n.º 1
0
 /**
 		@brief		Filter and set the label.
 		@param		string		$label		Label to filter and set.
 		@return		this		Object chaining.
 		@since		20130524
 	**/
 public function set_label($label)
 {
     return $this->set_unfiltered_label(\plainview\sdk_broadcast\form2\form::filter_text($label));
 }
Ejemplo n.º 2
0
 /**
 		@brief		Filters and sets the new value.
 		@param		string		$value		Value to filter and set.
 		@return		this		Object chaining.
 		@see		get_value()
 		@see		value()
 		@since		20130524
 	**/
 public function set_value($value)
 {
     $value = $this->apply_value_filters($value);
     $value = \plainview\sdk_broadcast\form2\form::filter_text($value);
     return $this->set_unfiltered_value($value);
 }
Ejemplo n.º 3
0
 /**
 		@brief		Filter and set the placeholder text.
 		@param		string		$placeholder		The new placeholder text.
 		@return		this		Object chaining.
 		@see		get_placeholder()
 		@since		20130524
 	**/
 public function set_placeholder($placeholder)
 {
     $placeholder = \plainview\sdk_broadcast\form2\form::filter_text($placeholder);
     return $this->set_attribute('placeholder', $placeholder);
 }
Ejemplo n.º 4
0
 /**
 		@brief		Set the title attribute.
 		@details	Also sets the title attribute of the label.
 		@return		this		Object chaining.
 		@since		20131001
 	**/
 public function title($title)
 {
     $title = \plainview\sdk_broadcast\form2\form::filter_text($title);
     $this->label->title($title);
     $this->set_attribute('title', $title);
     return $this;
 }