public function findParentRelatedEntries($field_id, $entry_id)
    {
        // Get all the `handles` that have been referenced from the
        // child association.
        $handles = Symphony::Database()->fetchCol('handle', sprintf("
            SELECT `handle`
            FROM `tbl_entries_data_%d`
            WHERE `entry_id` = %d
        ", $this->get('id'), $entry_id));

        // Now find the associated entry ids for those `handles` in
        // the parent section.
        $ids = Symphony::Database()->fetchCol('entry_id', sprintf("
            SELECT `entry_id`
            FROM `tbl_entries_data_%d`
            WHERE `handle` IN ('%s')
        ", $field_id, implode("','", $handles)));

        return $ids;
    }
public function findParentRelatedEntries($field_id, $entry_id)
    {
        // Get all the `handles` that have been referenced from the
        // child association.
        $handles = Symphony::Database()->fetchCol('handle', sprintf("
            SELECT `handle`
            FROM `tbl_entries_data_%d`
            WHERE `entry_id` = %d
        ", $this->get('id'), $entry_id));

        // Now find the associated entry ids for those `handles` in
        // the parent section.
        $ids = Symphony::Database()->fetchCol('entry_id', sprintf("
            SELECT `entry_id`
            FROM `tbl_entries_data_%d`
            WHERE `handle` IN ('%s')
        ", $field_id, implode("','", $handles)));

        return $ids;
    }
public function findParentRelatedEntries ( $ field_id , $ entry_id ) { // Get all the `handles` that have been referenced from the // child association. $ handles = Symphony :: Database ( ) -> fetchCol ( 'handle' , sprintf ( "
            SELECT `handle`
            FROM `tbl_entries_data_%d`
            WHERE `entry_id` = %d
        " , $ this -> get ( 'id' ) , $ entry_id ) ) ; // Now find the associated entry ids for those `handles` in // the parent section. $ ids = Symphony :: Database ( ) -> fetchCol ( 'entry_id' , sprintf ( "
            SELECT `entry_id`
            FROM `tbl_entries_data_%d`
            WHERE `handle` IN ('%s')
        " , $ field_id , implode ( "','" , $ handles ) ) ) ; return $ ids ; }
Find all the entries that contain the tags that have been referenced
from this field own entry.

@param integer $field_id
@param integer $entry_id
@return array
Find all the entries that contain the tags that have been referenced from this field own entry .