Questions tagged as 'classes'

1
answer

JasperReport - Passing objects to report column

I have to get the data from the following field: venda.getVendacardinalidades().get(0).getUsuario().getPessoa().getNome() And put this value in a report column, how do I do this: I was trying to do this: <field name="nome" class="co...
asked by 07.09.2016 / 22:19
1
answer

Bank query, main class returns zero

I am doing a query taking only one field and one row and settling on a main class variable, the question is that within the try below, the variable shows the result of the query correctly String sql1 = "select ca_id from cadastro where ca_no...
asked by 29.09.2016 / 23:17
1
answer

Error declaring an interface class in PHP?

I'm having trouble declaring a interface to classe in PHP where I'm encapsulating the entire program with namespace . I created a interface called IFile in the Cnab\Remessa directory and set the functio...
asked by 03.08.2016 / 14:02
0
answers

class display image php

Is it possible to display an image through a class's methods without requiring an external file to not generate header conflict? I created a class where to depend on call an image in a protected folder, generate an image with text or display...
asked by 25.07.2016 / 00:23
0
answers

How to Fix Class Registration?

I'm trying to call an application outside my application and when I call this app I get the following error. Retrieving the COM class factory for component with CLSID {7BB8A242-8662-40D0-A0E0-D796BF2162E7} failed due to the following error:...
asked by 14.06.2016 / 18:43
1
answer

Classes and Include PHP

Why do not you print anything? main: index.php <?php include_once("teste.php"); $a = new Teste(); echo $a->foo(); Included file: test.php <?php class Teste { private $teste; public function...
asked by 19.04.2016 / 21:21
1
answer

How to reverse engineer an android application?

As an android application in the .apk extension, get the classes, layouts, libraries, etc., ie reverse engineering? Note: I used 7-zip as Bacco advised and resulted in the following files folder: The classes appear in this extension ....
asked by 04.10.2014 / 20:47
1
answer

Doubt on data return in PHP POO

I'm learning about object-oriented programming in PHP, classes, hierarchies, and so on. Reading a few topics right here in stackoverflow I found the solution to my problem with the user control class, but I was left with a question regarding tha...
asked by 13.02.2016 / 08:02
1
answer

Calling methods from another class

In case I need to call a method of another class to perform an insertion in the database and I have to pass an object of type Usuario as a parameter Code: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedI...
asked by 22.08.2015 / 02:13
0
answers

Problem in a class of "self-shrinking"

I asked how to implement this class # full screen startingtyping Asyoucansee,itisdecreasing,butwhatyouaretypingdoesnotappear,butitisthere.followscodefromthe"autocollapse" class link ** * DO WHAT YOU WANT TO PUBLIC...
asked by 16.06.2015 / 15:47