/** * Creates a new XML Entity Collection view instance with the specified * entity type * * @param MEntityDescription $entity The entity this collection will represent * * @return MXMLEntityCollectionView The newly created instance */ public function __construct(MEntityDescription $entity) { parent::__construct($entity->plural()); $this->entity = $entity; $this->fireFaults = false; $this->managedObjects = new MMutableDictionary(); $this->dynamicFields = new MMutableDictionary(); }