public function getFromList(&$list, $selectFrom = null)
    {
        if (!$selectFrom) {
            $selectFrom = $this->getSelectFrom();
        }
        if (!$selectFrom) {
            return $this->getSQLFromList($list);
        }
        $this->getXMLFromList($list, $selectFrom);
        if ($list != null)
            return;
        $this->getDOFromList($list, $selectFrom);
        if ($list != null)
            return;
        $this->getSimpleFromList($list, $selectFrom);
        if ($list != null)
            return;

        return;
    }
public function getFromList(&$list, $selectFrom = null)
    {
        if (!$selectFrom) {
            $selectFrom = $this->getSelectFrom();
        }
        if (!$selectFrom) {
            return $this->getSQLFromList($list);
        }
        $this->getXMLFromList($list, $selectFrom);
        if ($list != null)
            return;
        $this->getDOFromList($list, $selectFrom);
        if ($list != null)
            return;
        $this->getSimpleFromList($list, $selectFrom);
        if ($list != null)
            return;

        return;
    }
public function getFromList ( & $ list , $ selectFrom = null ) { if ( ! $ selectFrom ) { $ selectFrom = $ this -> getSelectFrom ( ) ; } if ( ! $ selectFrom ) { return $ this -> getSQLFromList ( $ list ) ; } $ this -> getXMLFromList ( $ list , $ selectFrom ) ; if ( $ list != null ) return ; $ this -> getDOFromList ( $ list , $ selectFrom ) ; if ( $ list != null ) return ; $ this -> getSimpleFromList ( $ list , $ selectFrom ) ; if ( $ list != null ) return ; return ; }
Get from list

@param array $list
@return void
Get from list