Exemplo n.º 1
0
 /**
  * @param string $target
  *
  * @return string
  */
 public function ACLazyImage($attributes)
 {
     return Ajde_Component_Image::processStatic($this->getParser(), array_merge($attributes, ['lazy' => true]));
 }
Exemplo n.º 2
0
 /**
  *
  * @param string $target
  * @return string
  */
 public function ACImage($attributes)
 {
     return Ajde_Component_Image::processStatic($this->getParser(), $attributes);
 }
Exemplo n.º 3
0
 public function displayAvatar($width = 90, $class = '')
 {
     if ($this->hasNotEmpty('avatar')) {
         return Ajde_Component_Image::getImageTag(AVATAR_DIR . $this->getAvatar(), $width, $width, true, $class);
     } else {
         return $this->displayGravatar($width, $class);
     }
 }