}
/**
- * @inheritDoc
+ * @deprecated 3.0
*/
public function canCrop()
{
}
/**
- * @inheritDoc
+ * @deprecated 3.0
*/
public function getCropImageTag($size = null)
{
*/
interface IUserAvatar
{
- /**
- * Returns true if this avatar can be cropped.
- *
- * @return bool
- * @deprecated 3.0
- */
- public function canCrop();
-
/**
* Returns the url to this avatar.
*
*/
public function getImageTag($size = null);
- /**
- * Returns the image tag used for cropping.
- *
- * @param int $size
- * @return string
- * @deprecated 3.0
- */
- public function getCropImageTag($size = null);
-
/**
* Returns the width of this avatar.
*
/**
* @inheritDoc
*/
- public function getCropImageTag($size = null)
+ public function getWidth()
{
- return '';
+ return $this->width;
}
/**
* @inheritDoc
*/
- public function getWidth()
+ public function getHeight()
{
- return $this->width;
+ return $this->height;
}
/**
- * @inheritDoc
+ * @deprecated 3.0
*/
- public function getHeight()
+ public function getCropImageTag($size = null)
{
- return $this->height;
+ return '';
}
/**
- * @inheritDoc
+ * @deprecated 3.0
*/
public function canCrop()
{