search for: __construct

Displaying 7 results from an estimated 7 matches for "__construct".

Did you mean: _s_construct
2006 May 10
1
Documentation for the PHP OO wrapper
...- some methods are documented but do not exist in the wrapper (e.g. empty(), max_size(), swap(), create()...) - some forms of methods use arguments types which are not in the wrapper and should not be documented (e.g : get_mset with a MatchDecider, get_eset with an ExpandDecider, SimpleStopper::__construct() with iterators...) - some methods exist in the wrapper but are not documented. This is everything which is specific to the bindings : http://svn.xapian.org/trunk/xapian-bindings/php/docs/bindings.html?view=co and some which are not documented like (Simple)Stopper::apply(). - some methods have d...
2015 Dec 28
5
Phabricator/Arcanist feedback
...ystem.php:828] arcanist(head=master, ref.master=b3e68c9f1793), phutil(head=master, ref.master=14765d36f83a) #0 is_link(string) called at [<phutil>/src/filesystem/Filesystem.php:828] #1 Filesystem::resolvePath(string) called at [<phutil>/src/filesystem/FileList.php:35] #2 FileList::__construct(array) called at [<phutil>/src/filesystem/Filesystem.php:755] #3 Filesystem::walkToRoot(string) called at [<arcanist>/src/workingcopyidentity/ArcanistWorkingCopyIdentity.php:72] #4 ArcanistWorkingCopyIdentity::newFromPathWithConfig(string, NULL) called at [<arcanist>/src/worki...
2016 Mar 27
2
PHP5 - Query Parsing Bug
...2tprmr6h/php5-query-parsing-bug So not sure if that's going to end up being more or less readable... I have this error : Fatal error: No matching function for overloaded 'new_Query' in /usr/share/php/xapian.php on line 2607 Line 2607 (and surrounding) looks like this and are in the __construct() of XapianQuery (with better indentation): """ switch (func_num_args()) { case 0: $this->_cPtr=new_Query(); break; case 1: $this->_cPtr=new_Query($copyme_or_tname__or_op__or_external_source_or_op); break; case 2: $this->_cPtr=new_Que...
2006 Nov 30
1
PHP / XapianQueryParser
...ate the error in Xapian.php, but I think the error can be a bit deeper... I can query using XapianQuery, with a single keyword. Fatal error: No matching function for overloaded 'new_Query' in /var/www/htdocs/almar/xapian.php on line 1123 Which is this function in XapianQuery function __construct($tname_or_op__or_copyme_or_op=null,$wqf_or_left_or_subqs_or_q=1,$term_pos_or_right_or_param=0) { switch (func_num_args()) { case 0: $r=new_Query(); break;--> this line: default: $r=new_Query($tname_or_op__or_copyme_or_op,$wqf_or_left_or_subqs_or_q,$term_pos_or_right_or_param); } $this->_...
2009 May 27
1
PHP AGI Problems
...$agivar = explode(':', $agivar); $agivars[$agivar[0]] = trim($agivar[1]); } return 0; } function send_cmd($cmd){ fputs(STDOUT, $cmd . " \n"); fflush(STDOUT); $data = fgets(STDIN, 4096); return $data; } function __construct(){ $this->_get_agivars(); } } ?> [/code]
2006 Jun 21
3
png() or jpeg() in a php script
Hello, I've got a problem with a PHP script, in which I call the system function (to call another processes). The call is : system("R --slave --vanilla < path/to/source/source.R"); if in this R file, I've got the lines: pdf(file="/path/to/file/file.pdf") commands dev.off() the pdf file is perfectly created but if I change the lines to:
2005 Mar 24
0
AGI commands STDOUT problem
...= new AgiTest(); die(); ?> i guess the code before doesnt say anything :p , the class AgiTest code is: <?php class AgiTest { private $read_bytes = 80; private $asterisk_environment_variables = array(); private $log_stream = null; public function __construct() { $this->log_stream = fopen('/var/log/pavoz/asterisk','w'); //reading asterisk initial variables and writing them to log $this->ReceiveAsteriskEnvironmentVariables(); //now we try to execute a command, and track the point of error $command = "SAY NUMBER 5...