Exemplo n.º 1
0
    /**
     * Return image name, including size string by default
     *
     * @param bool $_withSize
     * @return string
     */
    protected function _getImageName($_withSize = true)
    {
        $name = $this->_account->getImage();
        
        if($_withSize) {
            $name .=  '_' . self::USER_IMAGE_SIZE_X
                      . 'x' . self::USER_IMAGE_SIZE_Y;
        }

        $name .= '.' . self::USER_IMAGE_TYPE;

        return $name;
    }