php - phpDoc and Code Completion via '->' T_OBJECT_OPERATOR in NetBeans 8.0 -
How can code be completed with PPDoock blocks, using T_OBJECT_OPERATOR without prescribing the variable without showing going?
Only a class that matters The example code shows undesired solutions and many non-working endeavors. As the code is based on information previously set, it is not like to use the full example script, not just the pieces. Also, because this phpDocumentor is related to the original phpDoc blocks were also included as well. It is desirable that these dock blocks are filled in as part of the code completion, not just the object name. I think it is not possible at this time ... parentExample as it is necessary
$ cc is set, which provides a working solution but it This way is not desired for the preset variable.
& lt ;? Php / ** * This is a parental class * * packages of @ * @ packages; Double class * / parent example / {$ $ parent example / / public $ a; / ** * This name is a name b * @ var $ b Parent example / public $ b; Public $ c; $ Cc public // notice ^ & lt; -------------------------------------------- ------ ---- see me / ** * an original controller * / public function __ composition () {echo '::' x class started: '; $ This - & gt; A = 'we are worth' '' in the original class'; $ This - & gt; B = 'we assume' 'in the original class'; $ This - & gt; C = 'We assume' C 'in the original class'; }} / ** * This is an example of doubling due to failures in Examples of __Construction (* * * @Package) / Double / Square / DoubleWorld Examples of Parents Example {/ ** * Original Parents Through the value is obtained. * * @ @ Stratification string * / public function getA () specified during creation of parent class {return $ this -> a; }} / ** * This is an example of doubling due to non-existent * / classes of __ composition () * * @ packages. Dampel increases parentExample {/ ** * An empty constructor used to prevent doubling during creation. * Child class uses parent creator, as long as it does not belong to itself. * Or none exsist * / public function __construct () {} / ** * An empty string return * * creator * shows an example of returning the values set based on the class. There is no default value set at any point in this case, but * instead of specifying the price during the creation of an object. * * @ Return string This string is empty * / public function getB () {return $ this - & gt; B; }} / ** * This is an example of being doubled due to the __ composition () * @see noDouble * * @package example / code end * / class code. Integer parent.Example {/ ** * SEse noDouble :: __ construct () * / Public Function __construct () {// Stops the blank constructor doubling} Public function getC () {return $ this - & gt; C; }} / ** @ War $ Parent Example Example Parents Example / $ $ parentExampleDV = new parent example; // tried this code to complete, it did not work & lt; ------------------ View / IT ** $ $ doubled Vars doubledVars * / $ parentExampleDV- & gt; Double Vars = New Dual Vars; The next 'echo' / output will be as follows: * / //: The introduction of the PE class :::: PE class was started: We are in Acoustic '@@' in parent category. $ ParentExampleDV- & gt; Double-click & gt; GetA (). '@@'; // no CC and lieutenant; ------- See Icho '& lt; Br> & Lt; Br> ---------- & lt; Br> & Lt; Br> '; / ** @ War $ Parent Example Example Parents Example / $ $ parentExampleND = New Guardian Example; // Trying to complete the code, it did not work & lt; ------------------ SEE ME / ** @var $ parentExample- & gt; NoDouble noDouble * / $ parentExampleND - & gt; NoDouble = New Number Double; The next 'echo' / output will be as follows: / / We are in the original category, 'echo' !! $ ParentExampleND-> gt; No- double-> GetB () '!!'; // NO CC & lt; ---------- See ME resonates & lt; Br> & Lt; Br> ---------- & lt; Br> & Lt; Br> '; $ ParentExampleCC = new parent instance; $ ParentExampleCC- & gt; Cc = new code ending; Resonance '##' $ ParentExampleCC- & gt; Cc- & gt; GetC () '##'; // CC Working & lt; ------------ See I 'echo' & lt; Br> & Lt; Br> ---------- & lt; Br> & Lt; Br> ';
Comments
Post a Comment