Good.


2014-03-09 12:43 GMT+02:00 RoySegall <notifications@github.com>:

> In
> drupalhub/modules/drupalhub/drupalhub_reputation/drupalhub_reputation.module:
>
> >   */
> > -function drupalhub_reputation_vud_votes(&$votes) {
> > +function drupalhub_reputation_votingapi_insert($votes) {
> > +  foreach ($votes as $vote) {
> > +    $wrapper = entity_metadata_wrapper($vote['entity_type'], $vote['entity_id']);
> > +    if(!$wrapper)
> > +      continue;
> > +    if($vote['entity_type'] == 'comment')
> > +     $type = entity_metadata_wrapper('node',$wrapper->raw()->nid)->getBundle();
>
> You can generally use the $wrappper->getPropertyInfo() and see what the
> available properties or use the get_class_methods on an unknown object and
> see what methods you have.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/DrupalHub/drupalhub/pull/4/files#r10413341>
> .
>



-- 
---
בברכה
יצחק קרומביין- כל אתר ואתר.
0525-802-579