예제 #1
0
 /**
  * Renew properties by path
  *
  * @param string $path Path
  *
  * @return boolean
  */
 protected function renewByPath($path)
 {
     $this->setSize(intval(\Includes\Utils\FileManager::getFileSize($path)));
     $this->setDate(\XLite\Core\Converter::time());
     return true;
 }
예제 #2
0
파일: Uploaded.php 프로젝트: kingsj/core
 /**
  * Return entry pack size
  *
  * @return integer
  */
 public function getPackSize()
 {
     return \Includes\Utils\FileManager::getFileSize($this->getRepositoryPath());
 }