protected function defineStubAttrs() {
		$params = $this->description->actions->{$this->action->name()}->input->parameters;
		
		foreach($params as $name => $desc) {
			switch($desc->type) {
				case 'Resource':
					$c = new \stdClass();
					$c->{$desc->value_id} = null;
					$c->{$desc->value_label} = null;
					
					$this->attrs[$name] = $c;
					break;
				
				default:
					$this->attrs[$name] = null;
			}
		}
	}
protected function defineStubAttrs() {
		$params = $this->description->actions->{$this->action->name()}->input->parameters;
		
		foreach($params as $name => $desc) {
			switch($desc->type) {
				case 'Resource':
					$c = new \stdClass();
					$c->{$desc->value_id} = null;
					$c->{$desc->value_label} = null;
					
					$this->attrs[$name] = $c;
					break;
				
				default:
					$this->attrs[$name] = null;
			}
		}
	}
protected function defineStubAttrs ( ) { $ params = $ this -> description -> actions -> { $ this -> action -> name ( ) } -> input -> parameters ; foreach ( $ params as $ name => $ desc ) { switch ( $ desc -> type ) { case 'Resource' : $ c = new \ stdClass ( ) ; $ c -> { $ desc -> value_id } = null ; $ c -> { $ desc -> value_label } = null ; $ this -> attrs [ $ name ] = $ c ; break ; default : $ this -> attrs [ $ name ] = null ; } } }
Create initial - NULL - resource object instance parameters.
Create initial - NULL - resource object instance parameters .