Discussion:
Mistake in Zend\Db\ResultSet\HydratingResultSet doc
Lukas Vlk
2012-08-09 08:28:07 UTC
Permalink
Hello,

I found small mistake here:
http://zf2.readthedocs.org/en/latest/modules/zend.db.result-set.html#zend-db-resultset-hydratingresultset

class UserEntity {
protected function $first_name; //delete "function" keyword
protected function $last_name; //delete "function" keyword
public function getFirstName() { return $this->first_name; }
public function getLastName() { return $this->last_name; }
}


luki
--
List: fw-docs-***@public.gmane.org
Info: http://framework.zend.com/archives
Unsubscribe: fw-docs-unsubscribe-***@public.gmane.org
Matthew Weier O'Phinney
2012-08-15 16:30:52 UTC
Permalink
I found small mistake here: http://zf2.readthedocs.org/en/latest/modules/zend.db.result-set.html#zend-db-resultset-hydratingresultset
class UserEntity {
protected function $first_name; //delete "function" keyword
protected function $last_name; //delete "function" keyword
public function getFirstName() { return $this->first_name; }
public function getLastName() { return $this->last_name; }
}
Can you please edit the document? (There's a link in the lower left that
will assist you with that.)
--
Matthew Weier O'Phinney
Project Lead | matthew-C1q0ot2/***@public.gmane.org
Zend Framework | http://framework.zend.com/
PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc
--
List: fw-docs-***@public.gmane.org
Info: http://framework.zend.com/archives
Unsubscribe: fw-docs-unsubscribe-***@public.gmane.org
Lukas Vlk
2012-08-15 18:52:37 UTC
Permalink
Now it's corrected, i will do it next time...
Post by Matthew Weier O'Phinney
I found small mistake here: http://zf2.readthedocs.org/en/latest/modules/zend.db.result-set.html#zend-db-resultset-hydratingresultset
class UserEntity {
protected function $first_name; //delete "function" keyword
protected function $last_name; //delete "function" keyword
public function getFirstName() { return $this->first_name; }
public function getLastName() { return $this->last_name; }
}
Can you please edit the document? (There's a link in the lower left that
will assist you with that.)
--
List: fw-docs-***@public.gmane.org
Info: http://framework.zend.com/archives
Unsubscribe: fw-docs-unsubscribe-***@public.gmane.org
Loading...