user.php
来自「Bug tracker, and reporter.」· PHP 代码 · 共 18 行
PHP
18 行
<?phpclass User extends Zend_Db_Table { protected $_name = "users"; public function getAll(){ $arrays = $this -> fetchAll(); $retour = array(); array_push($retour,''); foreach ($arrays as $indice => $tab){ $retour[$tab -> user_id] = ($tab -> nom.' '.$tab -> prenom); } return $retour; } }?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?