Quantcast
Channel:
Viewing all articles
Browse latest Browse all 4235

Re: Problems With "children()"

$
0
0

I have found solution but it look not so great, i have used this code-

public function getOffServers(){
      $output = new ArrayList();
      $createdOptionsArrayData = false;
      $children = $this->Children();
      foreach ($children as $server) {
         if ($server->Official == '1'){
            $output->push(new ArrayData(array(
            'Title' => $server->Title
            )));
         }
      }
      //Debug::Show($output);
      return $output;
      }


Posted to: Problems With "children()" | Show Thread | Post Reply


Viewing all articles
Browse latest Browse all 4235

Trending Articles