php static class

piaoling  2011-08-02 11:32:46

介绍: 静态类常被用作工具类或者无状态的抽象。举个例子,在 C# 中就有个类 System.Environment 可以访问这个程序所运行机器上的命令行属性、当前文件夹、以及机器名称之类的信息。在PHP中,现在只能使用一个只包含静态方法的抽象类来代替。静态类是 非常有用的一个工具,作为工具容器,它可以实现很多复杂的静态继承,这也正式我们提出这个提议的初衷。 声明: 模型特征: 一下特性会在静态类中实现: 1、被声明为静态类的类不允许包含任何非静态成员 2、抽象静态类中的静态方法不允许调用......

类别 :  PHP(78)  |  浏览(4201)  |  评论(0)

html head example

piaoling  2011-08-02 11:11:06

<head> <meta charset="UTF-8"> <title>Magento API / web service work | Magento-4U</title> <link href="http://gmpg.org/xfn/11" rel="profile"> <link href="http://s1.wp.com/wp-content/themes/pub/coraline/style.css?m=1304098755g" media="all" type="text/css" rel="stylesheet"> <link href="http://magento4u.wordpress.com/xmlrpc.php" rel="pingback"> <link href=&q......

类别 :  HTML(11)  |  浏览(6761)  |  评论(0)

magento database

piaoling  2011-08-02 10:16:04

......

类别 :  magento(258)  |  浏览(4554)  |  评论(0)

add product to cart

piaoling  2011-08-01 11:08:27

    /**      * Action list where need check enabled cookie      *      * @var array      */     protected $_cookieCheckActions = array('add');     /**      * Retrieve shopping cart model object      *      * @return Mage_Checkout_Model_Cart      */     protected function _getCart()     {         return Ma......

类别 :  magento(258)  |  浏览(4605)  |  评论(0)

magento api example

piaoling  2011-08-01 10:14:29

public function indexAction()     {         $apiUer = 'aland';         $apiKey = '123456';         $apiPath = 'catalog_product.list';         $null = '';         $catNeedle=0;         $filters = array(            'sku' => array('like'=>'nba'),  &nb......

类别 :  magento(258)  |  浏览(4711)  |  评论(0)

cookie connection

piaoling  2011-07-31 01:48:32

Cookie userNumber=piaoling; userPwd=456Z10; PHPSESSID=qv7m60aufvk5r4v2600m73db27 ......

类别 :  PHP(78)  |  浏览(3729)  |  评论(0)

关机问题

piaoling  2011-07-30 23:10:25

如果是偶尔出现关机死机,按电源按钮关机就可以了。 不能自动关机,有以下几种原因: 1、可能是BIOS设置有误,开机或者重启电脑按住DEL键,进入BIOS. 找到 Load Fail-Safe Defaults ,按方向键选中后回车,提示是否确定,按Y,回车. 最后选择Save&exit step(保存设置),直接按F10也可以. 按Y回车.自动重起.设置完毕!进入BIOS设置界面将菜单“POWER”的“keyboard power On”设为设置为“Disabled”按F10保存配置信息后,重新启动电脑。 2、启用高级电源管理解决不能自动关机......

类别 :  默认(760)  |  浏览(3610)  |  评论(0)

ckeditor 文档

piaoling  2011-07-29 11:52:31

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.html ckeditor官网:http://ckeditor.com/ CKSource Docs - The Official Documentation Site Bring rich editor features to your products and websites, providing your users with powerful tools to make creating Web content easier than ever and accessible to anyone. CKEditor 3.x Developer's Guide CKEditor 3.x User's Guide CKEditor 3.x HOWTOs CKEditor 3.x Tutorials CKEditor 3.x Accessibility Compliance ......

类别 :  JS(21)  |  浏览(6139)  |  评论(0)

magento db select on limit

piaoling  2011-07-29 10:25:29

$collection = $this->getProductCollection($storeId); $select =  $collection->getSelect(); $select->join(array('cat_index'=>'catalog_category_product_index'),"cat_index.product_id=e.entity_id and cat_index.store_id='$storeId' AND cat_index.category_id in ('10','17')",array('*')); $select->where("cat_index.product_id>35")                ->orWhere("cat_index.product_id<135"); $select->limit(7,2);//first param is the rows num......

类别 :  magento(258)  |  浏览(4411)  |  评论(0)

外贸人员比懂得的单证

piaoling  2011-07-28 10:36:22

1.Commercial invoice 商业发票 2.Proforma invoice形式发票 3.Received invoice收讫发票 4.Certificate invoice证实发票 5.Detailed invoice详细发票 6.Neutral invoice 中性发票 7.Manufacture invoice 厂家发票 8.Bank’s invoice 银行发票 9.Preliminary /provisional invoice 临时发票 10.Customs invoice 海关发票 11.Consular invoice 领事发票 12.Packing list 装箱单 13.Weight list 重量单 14.Measurement list 尺码单 15.Insurance poliy 保险单 16.Insurance Certificate 保险凭证 17.Combined Ins......

类别 :  英语口语(9)  |  浏览(5917)  |  评论(0)
  • Page:43/146  1460 Blogs
    <<
    >>
    20088
    周日 周一 周二 周三 周四 周五 周六

    文章分类