예제 #1
0
 protected final function __construct($collection_name, $entity_path)
 {
     // @TODO: check when $collection_name and $entity_path can be null
     parent::__construct($collection_name);
     $this->entityPath = $entity_path;
     if (TRUE === is_null($entity_path)) {
         throw new UserException('ENTITY_PATH is not set.');
     }
     // @CAUTION
     $this->includeEntity();
     $this->includeEntityBulk();
 }
예제 #2
0
 protected final function __construct($collection_name)
 {
     parent::__construct($collection_name);
 }