<?php
/**
* @method DbTable_Row_Foo createRow()
*/
class DbTable_Foo extends Zend_Db_Table_Abstract
{
protected $_primary = 'foo_id';
protected $_name = 'foo';
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was a quick & dirty benchmark (for my own needs) to compare the method to get a class name in PHP | |
-ReflectionObject->getName(); | |
-get_class(); | |
-ReflectionClass->getName(); | |
It was performed on my local machine : MacBookPro with PHP 5.3.6 | |
You will find the result below and the code used for the 3 tests. | |
ReflectionObject | |
Memory : 750040 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; configuration for fake sendmail | |
; if this file doesn't exist, sendmail.exe will look for the settings in | |
; the registry, under HKLM\Software\Sendmail | |
[sendmail] | |
; you must change mail.mydomain.com to your smtp server, | |
; or to IIS's "pickup" directory. (generally C:\Inetpub\mailroot\Pickup) | |
; emails delivered via IIS's pickup directory cause sendmail to |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const $ = $jQueryWom; | |
let boxes = $('.wom_hidecheckbox2'); | |
let form = $('.wom_hidecheckbox2').parents('form'); | |
let ids = []; | |
boxes.each(function () {ids.push(this.name)}); | |
boxes.prop('checked', false); |