phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
TextAlignmentTrait.php
Go to the documentation of this file.
1 <?php
2 
4 
6 
8 
9  abstract public function addToPropertyCtrl($name, $value, $typeCtrl);
10 
15  public function setTextAlignment($value=TextAlignment::LEFT){
16  return $this->addToPropertyCtrl("class", $value,TextAlignment::getConstants());
17  }
18 
19  public function textCenterAligned(){
21  }
22 
23  public function textJustified(){
25  }
26 
27  public function textRightAligned(){
29  }
30 
31  public function textLeftAligned(){
32  return $this->setTextAlignment();
33  }
34 }
setTextAlignment($value=TextAlignment::LEFT)
static getConstants()
Definition: BaseEnum.php:17
addToPropertyCtrl($name, $value, $typeCtrl)