public function get($id=null)
    {
      if ($id == null)
        return $this->data;


      $cname = "Catapult\\" . $this->getName();

      $obj = new $cname;

      return $obj->get($id);
    }
public function get($id=null)
    {
      if ($id == null)
        return $this->data;


      $cname = "Catapult\\" . $this->getName();

      $obj = new $cname;

      return $obj->get($id);
    }
public function get ( $ id = null ) { if ( $ id == null ) return $ this -> data ; $ cname = "Catapult\\" . $ this -> getName ( ) ; $ obj = new $ cname ; return $ obj -> get ( $ id ) ; }
Get one item from the Collection
if item is not initiated, initiate it

@param id: a valid id inside this collection
Get one item from the Collection if item is not initiated initiate it