public function getCommitables()
    {
        $data = array();

        foreach ($this->_entities as $entity) {
            if ($entity->getEntityState() & AnDomain::STATE_COMMITABLE) {
                $data[] = $entity;
            }
        }

        return $data;
    }
public function getCommitables()
    {
        $data = array();

        foreach ($this->_entities as $entity) {
            if ($entity->getEntityState() & AnDomain::STATE_COMMITABLE) {
                $data[] = $entity;
            }
        }

        return $data;
    }
public function getCommitables ( ) { $ data = array ( ) ; foreach ( $ this -> _entities as $ entity ) { if ( $ entity -> getEntityState ( ) & AnDomain :: STATE_COMMITABLE ) { $ data [ ] = $ entity ; } } return $ data ; }
Return an array of entites that are commitable.

@return array
Return an array of entites that are commitable .