Pimcore\Model\Asset::hasSiblings PHP 메소드

hasSiblings() 공개 메소드

Returns true if the asset has at least one sibling
public hasSiblings ( ) : boolean
리턴 boolean
    public function hasSiblings()
    {
        if (is_bool($this->hasSiblings)) {
            if ($this->hasSiblings and empty($this->siblings) or !$this->hasSiblings and !empty($this->siblings)) {
                return $this->getDao()->hasSiblings();
            } else {
                return $this->hasSiblings;
            }
        }
        return $this->getDao()->hasSiblings();
    }