/** * Returns path of company logo. This function will not check if file really exists * * @access public * @param void * @return string */ function getLogoPath() { return PublicFiles::getFilePath($this->getLogoFile()); }
/** * Return path to the picture file. This function just generates the path, does not check if file really exists * * @access public * @param void * @return string */ function getPicturePath($size = 'small') { switch ($size) { case 'small': if (FileRepository::isInRepository($this->getPictureFileSmall())) { return PublicFiles::getFilePath($this->getPictureFileSmall()); } case 'medium': if (FileRepository::isInRepository($this->getPictureFileMedium())) { return PublicFiles::getFilePath($this->getPictureFileMedium()); } case 'large': if (FileRepository::isInRepository($this->getPictureFile())) { return PublicFiles::getFilePath($this->getPictureFile()); } } }
/** * Return path to the avatar file. This function just generates the path, does not check if file really exists * * @access public * @param void * @return string */ function getAvatarPath() { return PublicFiles::getFilePath($this->getAvatarFile()); }
/** * Return path to the picture file. This function just generates the path, does not check if file really exists * * @access public * @param void * @return string */ function getPicturePath() { return PublicFiles::getFilePath($this->getPictureFile()); }