lib/hz2600/Kazoo/Api/Entity/AbstractEntity.php
public function fetch($append_uri = null) {
        $this->setTokenValue($this->getEntityIdName(), $this->getId());

        $response = $this->get(array(), $append_uri);
        $entity = $response->getData();

        $this->setEntity($entity);

        return $this;
    }
public function fetch($append_uri = null) {
        $this->setTokenValue($this->getEntityIdName(), $this->getId());

        $response = $this->get(array(), $append_uri);
        $entity = $response->getData();

        $this->setEntity($entity);

        return $this;
    }
public function fetch ( $ append_uri = null ) { $ this -> setTokenValue ( $ this -> getEntityIdName ( ) , $ this -> getId ( ) ) ; $ response = $ this -> get ( array ( ) , $ append_uri ) ; $ entity = $ response -> getData ( ) ; $ this -> setEntity ( $ entity ) ; return $ this ; }
Explicitly fetch from Kazoo, typicall it lazy-loads.
This could also be used to re-load to ensure the data
is fresh.
Explicitly fetch from Kazoo typicall it lazy - loads . This could also be used to re - load to ensure the data is fresh .