protected function getPollConfig()
	{
		$pollfile = new AnydatasetFilenameProcessor("_poll");
		$anyconfig = new AnyDataset($pollfile->FullQualifiedNameAndPath());

		$it = $anyconfig->getIterator();
		if ($it->hasNext())
		{
			$sr = $it->moveNext();
			$this->_isdb = $sr->getField("dbname") != "-anydata-";
			$this->_connection = $sr->getField("dbname");
			$this->_tblanswer = $sr->getField("tbl_answer");
			$this->_tblpoll = $sr->getField("tbl_poll");
			$this->_tbllastip = $sr->getField("tbl_lastip");
		}
		else
		{
			$this->_error = true;
		}
	}
protected function getPollConfig()
	{
		$pollfile = new AnydatasetFilenameProcessor("_poll");
		$anyconfig = new AnyDataset($pollfile->FullQualifiedNameAndPath());

		$it = $anyconfig->getIterator();
		if ($it->hasNext())
		{
			$sr = $it->moveNext();
			$this->_isdb = $sr->getField("dbname") != "-anydata-";
			$this->_connection = $sr->getField("dbname");
			$this->_tblanswer = $sr->getField("tbl_answer");
			$this->_tblpoll = $sr->getField("tbl_poll");
			$this->_tbllastip = $sr->getField("tbl_lastip");
		}
		else
		{
			$this->_error = true;
		}
	}
protected function getPollConfig ( ) { $ pollfile = new AnydatasetFilenameProcessor ( "_poll" ) ; $ anyconfig = new AnyDataset ( $ pollfile -> FullQualifiedNameAndPath ( ) ) ; $ it = $ anyconfig -> getIterator ( ) ; if ( $ it -> hasNext ( ) ) { $ sr = $ it -> moveNext ( ) ; $ this -> _isdb = $ sr -> getField ( "dbname" ) != "-anydata-" ; $ this -> _connection = $ sr -> getField ( "dbname" ) ; $ this -> _tblanswer = $ sr -> getField ( "tbl_answer" ) ; $ this -> _tblpoll = $ sr -> getField ( "tbl_poll" ) ; $ this -> _tbllastip = $ sr -> getField ( "tbl_lastip" ) ; } else { $ this -> _error = true ; } }
Get informations about WHERE I need to store poll data
Get informations about WHERE I need to store poll data