private function initializeIdList($list = null)
 {
     if (!empty($this->id_list) && $list == null) {
         return true;
     }
     $tmpFolder = $this->container->getTmpFolderInstance();
     if ($tmpFolder == null) {
         $this->id_list = $list == null ? $this->getRemoteIdList() : $list;
         return $list == null;
     }
     $f = new FileImpl($tmpFolder->getAbsolutePath() . $this->id_list_cache_path);
     $f->setAccessMode(File::FILE_MODE_RW_TRUNCATE_FILE_TO_ZERO_LENGTH);
     if ($list == null && $f->exists()) {
         $this->id_list = unserialize($f->getContents());
         return true;
     }
     $this->id_list = $list == null ? $this->getRemoteIdList() : $list;
     $f->getParentFolder()->create(true);
     $f->write(serialize($this->id_list));
     return $list == null;
 }
 /**
  * @param null $ar
  * @return bool
  * @internal param array $a
  */
 private function setUp($ar = null)
 {
     if ($this->created_time != null && $ar == null) {
         return true;
     }
     $f = null;
     $a = null;
     if (($t = $this->container->getTmpFolderInstance()) != null) {
         $f = new FileImpl("{$t->getAbsolutePath()}/FacebookStatusImpl/{$this->id}");
         if ($f->exists() && $ar == null) {
             $a = unserialize($f->getContents());
         }
     }
     if ($a == null) {
         $a = $ar == null ? $this->buildStatus() : $ar;
         if ($f != null) {
             $f->getParentFolder()->create(true);
             $f->setAccessMode(File::FILE_MODE_RW_TRUNCATE_FILE_TO_ZERO_LENGTH);
             $f->write(serialize($a));
         }
     }
     $this->created_time = $a['created_time'];
     $this->updated_time = $a['updated_time'];
     $this->message = $a['message'];
     $this->number_of_likes = $a['number_of_likes'];
     $this->images = $a['images'];
     return false;
 }