Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

com_set(3) [php man page]

COM_SET(3)								 1								COM_SET(3)

com_set - Assigns a value to a COM component's property

	Deprecated, use the OO syntax instead.

       Example #1

	      OO syntax

	      <?php
	      // do this
	      $obj->property = $value;
	      // instead of this:
	      com_set($obj, 'property', $value);
	      ?>

       Note

	       This  function does not exist in PHP 5; instead, you should use the regular and more natural OO syntax to access properties or call
	      methods.

PHP Documentation Group 														COM_SET(3)

Check Out this Related Man Page

JE::LValue(3pm) 					User Contributed Perl Documentation					   JE::LValue(3pm)

NAME
JE::LValue - JavaScript lvalue class SYNOPSIS
use JE::LValue; $lv = new JE::LValue $some_obj, 'property_name'; $lv->get; # get property $lv->set($value) # set property $lv->some_other_method # same as $lv->get->some_other_method DESCRIPTION
This class implements JavaScript lvalues (called "Reference Types" by the ECMAScript specification). METHODS AND OVERLOADING
If a method is called that is not listed here, it will be passed to the property referenced by the lvalue. (See the last item in the SYNOPSIS, above.) For this reason, you should never call "UNIVERSAL::can" on a JE::LValue, but, rather, call it as a method ("$lv->can(...)"), unless you really know what you are doing. Similarly, if you try to use an overloaded operator, it will be passed on to the object that the lvalue references, such that "!$lvalue" is the same as calling "!$lvalue->get". $lv = new JE::LValue $obj, $property Creates an lvalue/reference with $obj as the base object and $property as the property name. If $obj is undefined or null, a TypeError is thrown. To create a lvalue that has no base object, and which will throw a ReferenceError when "->get" is called and create a global property upon invocation of "->set", pass an unblessed reference to a global object as the first argument. (This is used by bare identifiers in JS expressions.) $lv->get Gets the value of the property. $lv->set($value) Sets the property to $value and returns $value. If the lvalue has no base object, the global object will become its base object automatically. <Note:> Whether the lvalue object itself is modified in the latter case is not set in stone yet. (Currently it is modified, but that may change.) $lv->call(@args) If the property is a function, this calls the function with the base object as the 'this' value. $lv->base Returns the base object. If there isn't any, it returns undef or an empty list, depending on context. $lv->property Returns the property name. perl v5.14.2 2012-03-18 JE::LValue(3pm)
Man Page

7 More Discussions You Might Find Interesting

1. Solaris

dns client not working

Hi All, I have configured linux server as local dns server (practice level). I have given the IP and hostname details in /etc/hosts -bash-3.00# cat /etc/hosts # # Internet host table # ::1 localhost 127.0.0.1 localhost 192.168.1.78 dummy.set.com loghost 192.168.1.57 cent.set.com #... (3 Replies)
Discussion started by: vaibhav.kanchan
3 Replies

2. UNIX for Advanced & Expert Users

sudo and ssh

Hi, I would like to know how i can perform a task, while performing ssh, sudo and command at the same time. What I generally do is I ssh to the server, where i created private and public, so it does not prompt me for password all the time. Then i need to run "sudo su - ldaprole" to get into... (9 Replies)
Discussion started by: john_prince
9 Replies

3. Shell Programming and Scripting

running scripts in minicom

Hi, I am new to use minicom. I want script to run on minicom with username and password as automated.(Expect). please could anyone suggest the sample code for it. Thanks in advance (2 Replies)
Discussion started by: vanid
2 Replies

4. Emergency UNIX and Linux Support

mdadm unable to fail a resyncing drive?

Hi All I have a RAID 5 array consisting of 4 drives that had a partial drive failure in one of the drives. Rebooting shows the faulty drive as background rebuilding and mdadm /dev/ARRAYID shows three drives as in sync with the fourth drive as spare rebuilding. However the array won't come... (9 Replies)
Discussion started by: Bashingaway
9 Replies

5. UNIX for Dummies Questions & Answers

Connecting PIC16F877A using Easypic5 via RS232 with Linux

I searched the forums for RS232 issues, but all of the results don't help me solving my problem, so I had to open new thread. This is the problem: I have PIC16F877A micro-controller and I'm programming it with Easypic5(the PIC programming device(board) from MikroElektronika) and I want to... (1 Reply)
Discussion started by: ivan_vasileski
1 Replies

6. Web Development

CentOS 7 redirecting me to old disabled dev site when removed from sites-enabled

I am having problems accessing a new site I am trying to setup on my CentOS 7 VM. I have added a vhosts file for it, but when I access easydev.com in the browser it continues to redirect me to the old (now disabled) dev site of crmpicco.dev. Is there something wrong with my config? # apachectl... (3 Replies)
Discussion started by: crmpicco
3 Replies

7. Shell Programming and Scripting

Running a KSH file from VPS on Godaddy

i have looked for a week and tried a few things, but nothing seems to work so joined here. I have a go daddy account and also a vps in germany. In my vps, i run a code script (we will call it codegen) when i run ./codegen i get my question of how many codes do i want to make. With my answer... (9 Replies)
Discussion started by: uksatman
9 Replies