php-general Digest 14 Dec 2013 13:03:52 -0000 Issue 8448
Topics (messages 322570 through 322570):
Re: Array + php
322570 by: marco.behnke.biz
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
Maybe ask in english? Bigger target audience....
> "El Ale..." <alexissauc...@gmail.com> hat am 14. Dezember 2013 um 01:01
> geschrieben:
>
>
> Gente una consulta bastante off topic. Quiero meter un array en una clase y
> no se como hacerlo se me ocurrio algo asi:
>
> <?
> class Listado_Completo
> {
> protected $datosArray =array(0=> array( "juan", "perez",
> "2352562"),
> 1=>array("Marina", "Zafon", "32568952"),
> 2=> array("fulano", "de tal", "32149856");
>
>
> public function Get_Listado_Completo(){
> return $this->datosArray;
> }
>
>
> }
> ?>
>
> Pero no puedo llamar a ninguno, alguien sabe como hacerlo?
--
Marco Behnke
Dipl. Informatiker (FH), SAE Audio Engineer Diploma
Zend Certified Engineer PHP 5.3
Tel.: 0174 / 9722336
e-Mail: ma...@behnke.biz
Softwaretechnik Behnke
Heinrich-Heine-Str. 7D
21218 Seevetal
http://www.behnke.biz
--- End Message ---