Пример #1
0
 /**
  * Sets the alignment of the image with respective to other elements on the page.
  * Possible values include: absbottom, absmiddle, baseline, bottom, left,
  * middle, right, texttop, and top. If an empty string is passed in,
  * imagealign attribute will not be rendered.
  * @param string the alignment of the image
  */
 public function setImageAlign($value)
 {
     if (parent::getImageAlign() === $value) {
         return;
     }
     parent::setImageAlign($value);
     if ($this->getActiveControl()->canUpdateClientSide()) {
         $this->getPage()->getCallbackClient()->setAttribute($this, 'align', $value);
     }
 }